URL rewrite module for IIS7
Posted
by Learner
on Stack Overflow
See other posts from Stack Overflow
or by Learner
Published on 2010-04-16T23:52:13Z
Indexed on
2010/04/17
0:03 UTC
Read the original article
Hit count: 250
I am trying to test if the redirect that I wrote works or not. If I do IISReset the redirect does not work. But if I recycle the app then this works. Is this how it works?
<rule name="RedirectToanothercity" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^home/cities.aspx?$" />
<conditions>
<add input="{QUERY_STRING}" pattern="city=jerseycity" />
</conditions>
<action type="Redirect" url="jerseycity" appendQueryString="false" />
© Stack Overflow or respective owner