Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sharepoint 2010 Extranet - Reverse Proxy

Posted on 2013-06-04
2
Medium Priority
?
975 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 1500 total points
ID: 39221850
0
 
LVL 1

Author Comment

by:ncht
ID: 39228791
Thank you
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Loops Section Overview
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

927 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