Rewrite maps in IIS7 — how to make the match optionally include a trailing slash?
问题 I have read the top 30 Google hits for several combinations of IIS rewrite map condition and so on, but I can't find any decent documentation, either on a microsoft.com site or elsewhere. I have a bunch of rewrite maps in IIS7 that I would like to process irrespective of whether or not they are followed by a trailing slash. So www.foo.com/bar and www.foo.com/bar/ should both match the rule. <rewrite> <rewriteMaps> <rewriteMap name="ShortURLs"> <add key="/terms" value="/en-us/terms-and