The connector receiving requests from httpd needs the attribute
tomcatAuthentication set to "false" in server.xml. Otherwise tomcat will
ignore the REMOTE-USER header provided by httpd.
-- David
Oliver Enders wrote:
Hy,
I have the following constelation:
Windows XP
Apache 2.0.58
Tomcat 4.1
Mod_jk 1.2.15
I secured one directory using htpasswd.
Calling the URL, the prompt to enter password and username pops up, and after I
entered it correctly, the authentication ist succesfull. (also the apache log
file contains the username).
But I can“t read out teh remote user using JSP / request.getRemoteUser() it
returns null.
So the authentication againts apache is ok but, how can I get the infomation into my JSP-Pages ?
How is this information passed to tomcat, which configuration setting a necessary?
Can anybody help me ?
Thanx in advance!
Oliver
--
David Smith
Network Operations Supervisor
Department of Entomology
Cornell University
2132 Comstock Hall
Ithaca, NY 14853
Phone: (607) 255-9571
Fax: (607) 255-0940
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]