开发者

Howto debug URL Rewrite Configurations on IIS

Is there an easier way to debug IIS Url Rewrite configurations 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.

I was able to solve my problem with this info, but it was not really easy to use when you have a complex configuration.


Whilst some may say "that's as good as it gets", I'd say that's a pretty neat way to debug rewrite rules. You have full visibility into the pipeline and can see exactly what is happening at each step. I have used this many times to resolve rewrite rule problems. It just takes practice to get familiar with the FRT tool.


Change the rewrite into a redirect within the urlrewrite tool for debugging purposes. . .works pretty much the same in the limited exposure I have to it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜