Redirect or proxy_pass?
3 posts
• Page 1 of 1
Redirect or proxy_pass?
I have downloaded the free version of ISAPI_Rewrite, for testing. I have set up the following rule:
<VirtualHost localhost:443 mysite.com:443 http://www.mysite.com:443 localhost:443>
RewriteEngine on
RewriteBase /
RewriteCond %{REMOTE_USER} ^/bella.*
RewriteRule (.*)$ http://heizungskeller/heizung.htm [NC]
</VirtualHost>
User "bella" should be locked onto the static file heizung.htm and should not be allowed to go anywhere else. The problem is that RewriteRule appears to redirect the browser, rather than proxy_pass the request to the internal server heizungskeller. Is this a limitation of the free version, or I am missing something?
<VirtualHost localhost:443 mysite.com:443 http://www.mysite.com:443 localhost:443>
RewriteEngine on
RewriteBase /
RewriteCond %{REMOTE_USER} ^/bella.*
RewriteRule (.*)$ http://heizungskeller/heizung.htm [NC]
</VirtualHost>
User "bella" should be locked onto the static file heizung.htm and should not be allowed to go anywhere else. The problem is that RewriteRule appears to redirect the browser, rather than proxy_pass the request to the internal server heizungskeller. Is this a limitation of the free version, or I am missing something?
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests