Advertisement
Guest User

Untitled

a guest
Jan 11th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.84 KB | None | 0 0
  1. <rewrite>
  2.       <rules>
  3.         <rule name="SpecificRewrite" stopProcessing="true">
  4.           <match url="^sitemap.xml$" />
  5.           <action type="Rewrite" url="/sitemapxml" />
  6.         </rule>
  7.         <rule name="SpecificRewriteHtml" stopProcessing="true">
  8.           <match url="^sitemap.html$" />
  9.           <action type="Rewrite" url="/sitemaphtml" />
  10.         </rule>
  11.         <!--<rule name="HTTP to HTTPS Redirect" enabled="true" stopProcessing="true">
  12.          <match url="(.*)" />
  13.          <conditions>
  14.            <add input="{HTTP_HOST}" matchType="Pattern" pattern="^localhost(:\d+)?$" negate="true" />
  15.            <add input="{SERVER_PORT_SECURE}" pattern="^0$" />
  16.          </conditions>
  17.          <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
  18.        </rule>-->
  19.       </rules>
  20.     </rewrite>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement