我在URL Rewrite中得到了这个角色.用__CODE__to 重写每个请求到网站__CODE__
<rule name="Force HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
</rule>
Run Code Online (Sandbox Code Playgroud)
我需要在此角色中使用其他角色或异常来重写或将特定URL重定向到HTTP.
那可能吗?谢谢.