Trouble Reverse Proxying a SharePoint Site

Topics: Developer Forum, User Forum
Apr 20, 2011 at 1:36 AM
Edited Apr 20, 2011 at 1:50 AM

Hi Guys,

I am trying to reverse proxy a SharePoint Site out onto the Internet securely.  My internet site (IIS6) is used for other purposes so I want to use a vdir.  Our internal server is running SharePoint Services 3.0 (IIS6)

E.g.  --> http://InternalSharePointServer/Site

My iirf.ini currently is:

# IIRF.ini
# ini file for proxying the Regional intranet

RewriteLog C:\IIRF\log\iirf
RewriteLogLevel 2
IterationLimit 10
MaxMatchCount 10
RewriteEngine ON
StatusInquiry ON

# Add a trailing slash:
RedirectRule ^/regional$         /regional/          [I]

# Proxy
ProxyPass   ^/regional/(.*)$    http://InternalSharePointServer/SA/$1    [I]
ProxyPassReverse   /regional/    http://InternalSharePointServer/SA/

This partially works but the relative links in SharePoint (E.g. /_ layouts) seem to cause havoc.  Can someone point me in the right direction?  I am a complete newbie to IIRF and Regular Expressions.



Apr 25, 2011 at 11:19 PM

hi Greg,

please see my answer to this question:

Your situation is a little different, because you are doing proxied requests, and not redirects/rewrites. But the steps to a solution are the same.

Good luck.

Nov 20, 2013 at 1:16 AM

I know it's been a long time, but could you post if you came up with a solution? I have a very similar situation using SpiceWorks on an internal system, and have been trying to figure this out for a couple days with limited success.