Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, October 8, 2013 10:33 PM
I have set up numerous Server 2012 RTM setups with ARR v3 and URL ReWrite redirecting multiple SSL based sites to internal servers.
I set up the identical configuration on Server 2012 R2 IIS (Essentials Server R2) and my requests hit the proxy site with the URL ReWrite setup and stay there. Something seems to be broken/not working on this version of IIS.
How best to troubleshoot please?
Thank you.
All replies (3)
Tuesday, October 8, 2013 10:40 PM âś…Answered
Tuesday, October 8, 2013 11:08 PM
Excellent. I will look into it.
Monday, October 14, 2013 9:34 AM
Sorry for reusing this thread but I have some maybe newbie issues with the URL rewrite using "dynamic pages"
Situation: I have several servers running behind a firewall (with one external IP) and I would like to access the internal servers via "subdirectories" using rewrite. In principle it works but only for simple static pages
http://okedv.dyndns.org shows two examples (below the IIS picture)
The forum (board) is acccessible directly via host/Portal/runtime or via url rewrite host/board/ the displayed result is somehow different.
the apache test is also using rewrite with a simple test page towards another server and looks pretty OK.
I assume there is a simple mistake on my side so please let me know
inboud
<rule name="Reverse Proxy To Board - inbound" enabled="true" stopProcessing="false">
<match url="(.*)board/(.*)" />
<conditions>
<add input="{CACHE_URL}" pattern="^(https?)://" />
</conditions>
<action type="Rewrite" url="{C:1}://okedv.dyndns.org/Portal/runtime/{R:1}" logRewrittenUrl="true" />
<serverVariables>
<set name="HTTP_ACCEPT_ENCODING" value="true" />
</serverVariables>
</rule>
outbound rule
<rule name="Reverse Proxy To Board - outbound" preCondition="ResponseIsHtml1" enabled="true" stopProcessing="false">
<match filterByTags="A, Form, Img" pattern="^http(s)?://okedv.dyndns.org/Portal/runtime/(.*)" />
<action type="Rewrite" value="/board/{R:2}" />
</rule>
<preConditions>
<preCondition name="ResponseIsHtml1">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
</preCondition>
</preConditions>