debugging - 如何在IIS上调试URL重写配置

标签 debugging iis url-rewriting

有没有更简单的方法来调试IIS网址重写配置than this ?:

Debug and troubleshoot rewrite rules easily

One of the very cool features of URL Rewrite Module is its integration with IIS Failed Request Tracing. When you have rewrite rules that do not work the way you expect them to work - enable Failed Request Tracing and you will get the entire history of how rewrite rules were applied on the requested URL. I use Failed Request Tracing all the time and it has proven to be a great help when debugging and troubleshooting rewrite rules.



我可以使用此信息解决我的问题,但是当您具有复杂的配置时,使用起来并不容易。

最佳答案

尽管有些人可能会说“这已经足够了”,但我会说这是调试重写规则的一种非常简洁的方法。您具有对管道的完全可见性,并且可以准确地看到每个步骤中正在发生的事情。我已经多次使用它来解决重写规则问题。只需练习即可熟悉FRT工具。

关于debugging - 如何在IIS上调试URL重写配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6181533/

相关文章:

delphi - DLL 断点没有被 "remote debug symbols"选项命中,为什么以及这些有任何安全风险吗?

c++ - 在GDB中查找变量变化

seo - 将 URL 关键字存储在数据库中,或导出

java - Apache 服务器 RewriteRule 到 Tomcat war - 从 url 中删除应用程序名称

c++ - 数据库 |查看可变参数列表

javascript - 使用 IntelliJ 和 Chrome 调试 Typescript

c# - 在 IIS 上应用程序无法打开 SQL 连接

ruby-on-rails - Windows 版 Git 收到未知协议(protocol)错误

jquery - 在使用 jQuery 或类似方法通过 IIS 表单例份验证保护的 HTML 页面中显示登录用户?

iis-7 - IIS URL 重写 - 友好 URL : Querystring variable is repeated