REMOTE_USER through Apache reverse proxy
        Posted  
        
            by 
                Laurent
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Laurent
        
        
        
        Published on 2010-09-13T20:56:50Z
        Indexed on 
            2010/12/21
            20:55 UTC
        
        
        Read the original article
        Hit count: 293
        
I have an Apache webserver with mod_proxy enabled and a Virtualhost, proxy.domain.com. This proxy is configured to prompt the user for credentials with AuthType Basic. Then, the content of web.domain.com is available through the proxy with ProxyPass and ProxyReverse. However, the REMOTE_USER variable is empty. I read different things to achieve this with mod_rewrite and mod_headers but all my tries have failed. Does anybody has been luckier than me?
Thanks.
© Server Fault or respective owner