Advertisement
Mr_Gavitt

Untitled

Jul 17th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <configuration> <system.webServer> <httpErrors errorMode="Detailed" /> </system.webServer> <system.web> <customErrors mode="Off"/> <compilation debug="true"/> </system.web> </configuration>
  2. <rule name="HTTP to HTTPS redirect" stopProcessing="true">
  3. <match url="(.*)" />
  4. <conditions>
  5. <add input="{HTTPS}" pattern="off" ignoreCase="true" />
  6. </conditions>
  7. <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
  8. </rule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement