remote_user problem

hello!

i am using Apache 2.0.59 and tomcat 5.5.23 with mod_jk2.0.4 on Xp PRO.

The problem is that i use apache authentication and that the remote_user
that is returned to tomcat is null when i authenticate correctly.

This is how i authenticate the users (part of httpd.conf file):

<Location /test/>
AuthType Basic
AuthName "Test LOGIN"
AuthUserFile C:/Apache2/user.db
require valid-user
</Location>


This is the configuration of server.xml (tomcat file):
<!-- Define an AJP 1.3 Connector on port 8009 -->

<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
request.tomcatAuthentication="false" />


Any ideas how will i be able to pass the username that the user enters to
remote_user?

Thanks anyway!

____________________________________________________________ _____
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/ 01/
vasilis vasilis [ Fr, 13 April 2007 13:06 ] [ ID #1687418 ]

Re: remote_user problem

Please post questions like this to the Tomcat user list, thanks

http://tomcat.apache.org/lists.html

Niall

On 4/13/07, vasilis vasilis <vasilis_shib [at] hotmail.com> wrote:
> hello!
>
> i am using Apache 2.0.59 and tomcat 5.5.23 with mod_jk2.0.4 on Xp PRO.
>
> The problem is that i use apache authentication and that the remote_user
> that is returned to tomcat is null when i authenticate correctly.
>
> This is how i authenticate the users (part of httpd.conf file):
>
> <Location /test/>
> AuthType Basic
> AuthName "Test LOGIN"
> AuthUserFile C:/Apache2/user.db
> require valid-user
> </Location>
>
>
> This is the configuration of server.xml (tomcat file):
> <!-- Define an AJP 1.3 Connector on port 8009 -->
>
> <Connector port="8009"
> enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
> request.tomcatAuthentication="false" />
>
>
> Any ideas how will i be able to pass the username that the user enters to
> remote_user?
>
> Thanks anyway!
Niall Pemberton [ Fr, 13 April 2007 13:31 ] [ ID #1687419 ]
Miscellaneous » gmane.comp.jakarta.general » remote_user problem

Vorheriges Thema: Notification of acceptance vote in the cactus lists
Nächstes Thema: Moderators needed