【发布时间】:2013-08-09 03:55:48
【问题描述】:
这是我迄今为止尝试过的。
<rule name="https main site to http" stopProcessing="true">
<match url="^(.*)$" ignoreCase="true" />
<conditions>
<add input="{HTTPS}" pattern="Off" />
</conditions>
<action type="Redirect" url="http://{HTTP_HOST}/{REQUEST_URI}" />
</rule>
【问题讨论】:
-
它是如何失败的?什么都没有发生?是否在 IIS 中启用了规则?
-
是的,在 IIS 中启用了规则