Pastebin

Paste #3224: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <outboundRules>
                <preConditions>
                    <preCondition name="ResponseIsHtml1">
                        <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
                    </preCondition>
                </preConditions>
            </outboundRules>
            <rules>
                <rule name="ReverseProxyInboundRule1" stopProcessing="true">
                    <match url="(.*)" />
                    <action type="Rewrite" url="https://foo.local:443/{R:1}" />
                </rule>
                <rule name="ReverseProxyInboundRule2" stopProcessing="true">
                    <match url="/SASLogon(.*)" />
                    <action type="Rewrite" url="https://foo:443/SASLogon{R:1}" />
                </rule>
            </rules>
        </rewrite>
        <urlCompression doStaticCompression="false" />
        <directoryBrowse enabled="true" />
    </system.webServer>
</configuration>

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.