Solved

IIS 7 and forwarding

Posted on 2011-03-04
2
698 Views
Last Modified: 2013-11-05
I have IIS 7 installed with URL rewrite 2.0. How do I get the web server to proxy forward? It should be web addresses in https, https:/www.ratsoft.com/dir/url and forward them internally to our web server http://192.168.1.20/dir/url, when and only when the dir part is present?
0
Comment
Question by:BigRat
2 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 35056946
Hi,

For this you will need AAR as well. You can download them separately from here....

URL Rewrite Module
x86 - http://go.microsoft.com/?linkid=9722533
x64 - http://go.microsoft.com/?linkid=9722532

Application Request Routing Module
x86 - http://iis.net/downloads/default.aspx?tabid=34&g=6&i=1709
x64 - http://iis.net/downloads/default.aspx?tabid=34&g=6&i=1712

OR through the Web Platform installer by installing Application Request Routing. It will install the dependencies for you.


Configure AAR for Reverse Proxy
1.Open IIS Manager
2.Select a server node in the tree view on the left hand side and then click on the "Application Request Routing" feature:
3.Check the "Enable Proxy" check box. Leave the default values for all the other settings on this page.

Create URL Rewrite
1.Open the web.config file for you website.
2.Under the /configuration/system.webServer, add the following section and then save the file.
   <rewrite>
    <rules>
        <rule name="Reverse Proxy to 192.168.1.20" stopProcessing="true">
            <match url="^dir/url/(.*)" />
            <action type="Rewrite" url="http://192.168.1.20/dir/url/{R:1}" />
        </rule>
    </rules>
   </rewrite>

make sure you have a default document setup too.

Cheers,
Hades666
0
 
LVL 27

Author Closing Comment

by:BigRat
ID: 35070424
OK, it was the ARR module which I was missing.

Thanks
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question