httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isaac Castinger VizcaĆ­no <isaac.castin...@usm.es>
Subject using method getRemoteUser in servlets
Date Mon, 28 Jan 2002 09:28:56 GMT
Hi!

I have the following configuration in httpd.conf:


LoadModule proxy_module modules/ApacheModuleProxy.dll

<IfModule mod_proxy.c>
    
    ProxyRequests On
    
    ProxyPass		/servlet/
http://localhost:8888/servlet/
    ProxyPassReverse	/servlet/
http://localhost:8888/servlet/

</IfModule>

<Directory proxy:*>
	AuthType 				Basic
	AuthName 				"Tester"
	AuthUserFile 		"C:/Archivos de programa/Apache
Group/Apache/passwd/passwords"
	AuthGroupFile		"C:/Archivos de programa/Apache
Group/Apache/passwd/groups"
	Require	group		testers
</Directory>


and I get the login prompt window when I access the url
http://localhost:8888/servlet/
but the method getRemoteUser() from HttpServletRequest always return
null although I have supplied the username.

How can I make Apache to pass the username in the request?

Thanks,

isaac.

Mime
View raw message