Rewrite from external to internal server

Topics: Developer Forum, User Forum
Feb 5, 2009 at 8:08 PM
Edited Feb 6, 2009 at 8:20 AM
Hi, a quick question for the forum:

IIRF documentation states it is not a reverse-proxy, from the chaching  point of view, but I am very interested to find out if IIRF can serve an array of servers and not a single machine.

I am trying to build the following architecture to secure the provision of a Web application: 

User's browser approaches server1 (IIS7 win 2008 64bit, with IIRF) with the URL https://server1/directory1/page1.php.  Besides its connection to the Internet, server1 is also connncted to an internal LAN, and I want to rewrite the URL to into http://server2/directory2/page1.php. This is done to provide a layer of security by not exposing the name of the internal server2.

I tried this simple rule:  RewriteRule s://server1/directory1/   //server2/directory2/ and it did not work (no match) . 

Would appreciate your advice, thanks, Jonas.