2

I have Windows Server 2008 server and IIS 7.0 being running on port 80 (main web server). Also I have Apache 2.2 running on port 8081 (for SVN).

Is it possible to configure IIS that way so it will transparently forward/proxy requests to http://svn.example.com:80 to http://svn.example.com:8081

abatishchev
  • 541
  • 1
  • 9
  • 31

1 Answers1

4

Yes. This is called a "Reverse Proxy". See the following question for another solution (apparently it can be troublesome, but see Scott's answer):

Using IIS7 as a Reverse Proxy

You can also use ISAPI ReWrite for doing this, it seems to be a bit of a defacto standard for IIS, and uses a .htaccess compatible file format.

Mark Henderson
  • 68,823
  • 31
  • 180
  • 259
  • That question's answer is to run apache on port 80. This is not what I'm looking for. But I will check out ISAPI ReWrite you mentioned – abatishchev Jul 11 '10 at 09:18
  • @abat, check Scott's answer as I mentioned. He gives more detail on how to do it. The only reason it's not the accepted answer was because it came too late. – Mark Henderson Jul 11 '10 at 09:29
  • Sorry, have read your answer inattentively. Already took a look to ARR. Thanks! – abatishchev Jul 11 '10 at 09:55