有没有更简单的方法来调试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/