I have written a simple redirect rule for IIS7, I would like to apply this same rule across the entire server so I added it to the applicationHost.config via the IIS interface. I have confirmed it has created the rule correctly in the file, however it simply does not work, I get no error so it is hard to know what I am doing wrong?
<rewrite>
<globalRules>
<rule name="default" enabled="true" stopProcessing="true">
<match url="(.*)default.aspx|(.*)index.aspx|(.*)index.html" />
<action type="Redirect" url="{R:1}" redirectType="Permanent" />
</rule>
</globalRules>
</rewrite>
Any help would be appreciated.