小编Mid*_*ido的帖子

IIS url重写角色除了一些网址

我在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.

那可能吗?谢谢.

asp.net iis web-config url-rewriting

33
推荐指数
1
解决办法
4万
查看次数

标签 统计

asp.net ×1

iis ×1

url-rewriting ×1

web-config ×1