我正在使用Windows Server 2003 SP2和IIS 6,我已经使用URL重写功能进行了URL重写,但在安装URL Rewritter到IIS 6中时出现了问题,所以我想暂时禁用该规则。
我如何暂时禁用URL重写?是否需要在web.config中添加某些内容? 谢谢。
我正在使用Windows Server 2003 SP2和IIS 6,我已经使用URL重写功能进行了URL重写,但在安装URL Rewritter到IIS 6中时出现了问题,所以我想暂时禁用该规则。
我如何暂时禁用URL重写?是否需要在web.config中添加某些内容? 谢谢。
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="myRule" enabled="false">
...
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
<rewrite>
标签来禁用IIS URL重写。即使您删除了规则,您的浏览器仍将记住它。因此,请确保还清除浏览器历史记录、Cookie、表单数据等...