Guest User

Untitled

a guest
Feb 18th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="HTTPS force" enabled="true" stopProcessing="true">
  7. <match url="(.*)" />
  8. <conditions>
  9. <add input="{HTTPS}" pattern="^OFF$" />
  10. </conditions>
  11. <action type="Redirect" url="https://test.mydomain.be/{R:0}" redirectType="Permanent" />
  12. </rule>
  13. </rules>
  14. </rewrite>
  15. <directoryBrowse enabled="false" />
  16. <defaultDocument>
  17. <files>
  18. <clear />
  19. <add value="index.htm" />
  20. <add value="index.html" />
  21. </files>
  22. </defaultDocument>
  23. <httpErrors errorMode="DetailedLocalOnly" existingResponse="Auto" />
  24. </system.webServer>
  25.  
  26. HTTP/1.1 301 Moved Permanently
  27. Connection: Keep-Alive
  28. Content-Length: 145
  29. Date: Mon, 18 Feb 2019 23:20:24 GMT
  30. Location: http://test.mydomain.be/
  31. Content-Type: text/html; charset=UTF-8
  32. Server: Microsoft-IIS/8.5
  33. X-Powered-By: ASP.NET
Add Comment
Please, Sign In to add comment