Solved

Sharepoint 2010 Extranet - Reverse Proxy

Posted on 2013-06-04
2
884 Views
Last Modified: 2013-06-19
I have a SharePoint 2010 server setup internally which works fine. We have setup a IIS 7 site in the DMZ with a reverse proxy to the internal SharePoint server.

I have setup the Rewrite rule on the root of the domain ie https://secure.companyname.co.uk/

<rules>
                <rule name="ReverseProxyInboundRule1" stopProcessing="true">
                    <match url="(.*)" />
                    <action type="Rewrite" url="http://extranet:8080/{R:1}" />
                </rule>
            </rules>

Open in new window


Which works fine. However....

I want to add multiple sub folder to go to different servers. For example

https://secure.companyname.co.uk/extranet/  goes to one server
https://secure.companyname.co.uk/reporting/ goes to one server
https://secure.companyname.co.uk/intranet/ goes to one server.


So for the extranet one I have

<rule name="Extranet" enabled="true" stopProcessing="true">
            <match url="^extranet(.*)" />
            <action type="Rewrite" url="http://extranet:8080/{R:1}" />
        </rule>

Open in new window


The problem is although when typing https://secure.companyname.co.uk /extranet/ tries to access the internal Sharepoint, the internal Sharepoint redirects back to the root. So I get a 404.

Server Error in '/' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /SitePages/Home.aspx


I want to do it as sub folder so that I dont have to have multiple sub domains and multiple secure certificates.
0
Comment
Question by:ncht
2 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 500 total points
ID: 39221850
0
 
LVL 1

Author Comment

by:ncht
ID: 39228791
Thank you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

896 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now