Skip to content

Instantly share code, notes, and snippets.

@programmergrrl
programmergrrl / Rewrite.config
Created August 8, 2011 10:19
Simple IIS URL Rewrite Module 2.0 test rule to remove the word "rewrite" from a URL and the failed request traces generated when trying to use the rule with a SharePoint page that triggers Windows authentication
<rewrite>
<rules>
<rule name="Test">
<match url="rewrite/(.*)" />
<action type="Rewrite" url="{R:1}" />
</rule>
</rules>
</rewrite>