Advertisement
Mr_Gavitt

Untitled

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