Hi,
I am setting up the Shibboleth 2.x in Windows 2016 and IIS10. I can configure the SAML authentication for the local IIS server. I have installed and configured the URL rewrite, the local reserves proxy has also been set for the local index.asp file.
In the shibboleth2.xml file
I have set it as
<Host name="testingyyy-webz.xxxx.us">
<Path name="secure" authType="shibboleth" requireSession="true"/>
<Path name="proxytest" authType="shibboleth" requireSession="true"/>
In the web configuration file in iis
I have set it as
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="^proxytest/(.*)" />
<conditions>
</conditions>
<action type="Rewrite" url="http://127.0.0.1:8080/abmsecure/{R:1}" />
</rule>
</rules>
<outboundRules>
<rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
<match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Img, Input, Link, Script" pattern="^http(s)://127.0.0.1:8080/abmsecure/(.*)" />
<action type="Rewrite" value="http{R:1}://testingyyy-webz.xxxx.us/proxytest/{R:2}" />
</rule>
<rule name="RewriteRelativePaths" preCondition="ResponseIsHtml1">
<match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Img, Input, Link, Script" pattern="^(.*)/(.*)" negate="false" />
<action type="Rewrite" value="/proxytest/{R:2}" />
</rule>
<preConditions>
<preCondition name="ResponseIsHtml1">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
</preCondition>
</preConditions>
</outboundRules>
</rewrite>
</system.webServer>
</configuration>
However, I have no idea for how to set the rul rewrite to redirect the reverse proxy to a Linux server which named linuxteszz-webz.xxxx.us, the path is webzsup and the default page is index.php, would anyone point my nose to the right direction?
Big thanks.
Abby.
<br/><hr align="left" width="300" />
Sent from the <a href="http://shibboleth.1660669.n2.nabble.com/Shibboleth-Users-f1660767.html">Shibboleth - Users mailing list archive</a> at Nabble.com.<br/>