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.

Reply via email to