0
我想將我的登錄頁面重定向到https,但我不明白爲什麼我的規則不起作用,有人有想法?Web.config URL重寫器
<rewrite>
<rules>
<clear />
<rule name="Redirect to https" stopProcessing="true">
<match url="http://([_0-9a-zA-Z-]+).<mydomaine>.fr(/logon.html)?" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
</rule>
</rules>
</rewrite>
當我的網址導航,而不https協議的規則不執行重定向
一切看起來都對我很好,你確定了比賽的網址是OK ? –
當您使用 –
@DylanSlabbinck進行嘗試時會發生什麼情況。 – tdelepine