How do I identify which rewrite rule is being trigger on IIS 7.5?

Posted by Jordan Reiter on Server Fault See other posts from Server Fault or by Jordan Reiter
Published on 2012-03-21T17:16:43Z Indexed on 2012/03/21 17:31 UTC
Read the original article Hit count: 330

Filed under:
|
|
|

I have a set of rewrite rules (offhand, I would say around 40-50) for a given server. It's basically to handle and reroute mangled URLs so that bad links still go to where they're supposed to go.

I've come across an URL that is redirecting and I can't figure out which rewrite rule it is applying.

My background is Apache and in that case I'd simply enable a rewrite log and look at the logged output to figure out what was happening. Is there an equivalent way to do this in IIS?

bonus round

Any way for me to view & edit the rewrite rules in a text file rather than the GUI interface?

© Server Fault or respective owner

Related posts about iis

Related posts about iis7.5