remote_user problem

remote_user problem

am 13.04.2007 13:06:54 von vasilis vasilis

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):


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



This is the configuration of server.xml (tomcat file):


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/

Re: remote_user problem

am 13.04.2007 13:31:36 von Niall Pemberton

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

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

Niall

On 4/13/07, vasilis vasilis 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):
>
>
> AuthType Basic
> AuthName "Test LOGIN"
> AuthUserFile C:/Apache2/user.db
> require valid-user
>

>
>
> This is the configuration of server.xml (tomcat file):
>
>
> > 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!