Solved

Sharepoint 2010 Extranet - Reverse Proxy

Posted on 2013-06-04
2
903 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

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…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
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