url rewrite for folder/base only
<rule name="updates" stopProcessing="true">
<match url="updates/" ignoreCase="true" />
<action type="Rewrite" url="update.cfm" />
</rule>
this works ok, except any pages under updates like updates/signin.cfm
also redirects to update开发者_运维问答.cfm. How do I get it to apply only when the url ends with updates/
URL Rewrite uses RegEx in its matching expressions, so at the end of the match, make sure you delineate it to be 'the end of line'. My Regex is rusty, but maybe its
"updates/$" ? Also, you might have to escape the / in the match.
http://www.regular-expressions.info/anchors.html
精彩评论