views:

399

answers:

0

Hi there,

i’ve got an “public” IIS “in the front” and another “private” IIS “in the back” of an network.
I’d like to proxy http requests through the “public” IIS to the “private” IIS – and using ISAPI-Rewrite ( Version 3.1.0.62 ) it almost works.
The problem is the authentication – I configured the “public” IIS to enable anonymous access and the “private” IIS to use basic authentication. If i try to access the “private” IIS through the proxy connection i am asked for credentials – but they are not accepted and I end up with an HTTP Error 401.2
('You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.')
If I access the “private” IIS without the proxy everything works fine.

I use the following .htaccess on the “public” IIS:

RewriteEngine on
RewriteProxy (.*) http\://192.168.x.x\:xx\/$1 [H,L]

What am I missing ?

See http://www.helicontech.com/forum/forum_posts-TID-12186-TPN-1.htm