You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by vasilis vasilis <va...@hotmail.com> on 2007/04/13 13:06:54 UTC
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/
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org
Re: remote_user problem
Posted by Niall Pemberton <ni...@gmail.com>.
Please post questions like this to the Tomcat user list, thanks
http://tomcat.apache.org/lists.html
Niall
On 4/13/07, vasilis vasilis <va...@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!
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
For additional commands, e-mail: general-help@jakarta.apache.org