|Posted: 13 August 2010 at 8:50pm
This is a very general question and spans Rewrite 2 and Rewrite 3, hence the question here in the common questions area:
I am trying to get basic authentication to work for reverse proxy from IIS6 to Apache2 and have a very difficult time with Rewrite 3; it simply won't work.
I have two separate machines for IIS6 (Windows 2003 server) and Apache2 (Ubuntu 10.04 LTS). If I open Internet Explorer on the Windows 2003 machine and type the URL of the Apache machine directly in IE's address bar, then I can access the web site and use the login for the fast cgi web app just fine. However, when I use the external address of the IIS6 machine instead (routing all traffic through reverse proxy), then I can navigate the web site, I can open unrestricted areas of the protected fast cgi web app, but I cannot use the login for authentication.
The interesting part is that the login windows of IE look completely different when I use the Apache's URL directly on the IIS machine vs if I use the external address.
The following illustration should give a good idea of what's going on:
If anybody has any inside in authentication using reverse proxy from ISS6 to Apache2 and whether Rewrite v2 or v3 should work for that, please let me know.