Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <rewrite>
- <rules>
- <rule name="SpecificRewrite" stopProcessing="true">
- <match url="^sitemap.xml$" />
- <action type="Rewrite" url="/sitemapxml" />
- </rule>
- <rule name="SpecificRewriteHtml" stopProcessing="true">
- <match url="^sitemap.html$" />
- <action type="Rewrite" url="/sitemaphtml" />
- </rule>
- <!--<rule name="HTTP to HTTPS Redirect" enabled="true" stopProcessing="true">
- <match url="(.*)" />
- <conditions>
- <add input="{HTTP_HOST}" matchType="Pattern" pattern="^localhost(:\d+)?$" negate="true" />
- <add input="{SERVER_PORT_SECURE}" pattern="^0$" />
- </conditions>
- <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
- </rule>-->
- </rules>
- </rewrite>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement