.NET Url rewrite the root url
问题 I have the follow rule in IIS7: <rule name="RewriteAll" stopProcessing="true"> <match url="^([^/]+)/?$" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{URL}" negate="true" pattern="\.axd$" /> <add input="{URL}" negate="true" pattern="\.png$" /> <add input="{URL}" negate="true" pattern="\.gif$" /> <add input="{URL}" negate="true" pattern="\.jpg$" /> <add input="{URL}"