Reverse Proxy REMOTE_USER

Topics: Reverse Proxy, Rules
Feb 22, 2011 at 9:18 PM


I'm using a simple reverse proxy rule

RewriteRule ^/internal/(.*)$1   [P]


The IIS has windows integrated authentication. People have to use their AD creds to access the site.


Can I get the username from some header or is this possible?



Apr 28, 2011 at 4:28 PM

I have NTLM set up on both sides of the proxy (IIS on one and Apache on the other), and it seems to pass the auth details along seamlessly, without any extra work on my part.  I get the username via the CGI variable REMOTE_USER.