Hi
I have a https server on IIS 7 and an another internal application server listening on port 443.
Assuming that:
IIS site is https://MyTestSite
and
application server site is https:// MyInternalTestSite
idea is to use URL rewrite 2.0 functionalily using revserse proxy rule template.
so when user accesses https://MyTestSite it should redirect (using rewrite) the request to https://MyInternalTestSite. The URL in browser will remain https://MyTestSite. (usually with conventional redirects it changes to destination URL)
This works fine if I uncheck the option Enable SSL offloading. but doesnt work otherwise.
Is there a way to use HTTTPS --> HTTPS using Rewrite.
my web.config file looks like this but it doesnt work. gives me error.
</rule>
<rule name="ReverseProxyInboundRule2" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{CACHE_URL}" pattern="^(https?)://" />
</conditions>
<action type="Rewrite" url="{C:1}://10.10.10.10/{R:1}" />
</rule>
</rules>
</rewrite>
thanks
SR