Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <rule name="Remove trailing slash" stopProcessing="true">
- <match url="(.*)/$" />
- <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
- <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
- <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
- </conditions>
- <action type="Redirect" url="{R:1}" redirectType="Temporary" />
- </rule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement