Advertisement
Guest User

Untitled

a guest
Nov 25th, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. <rule name="Redirect Supply Management System traffic to https" stopProcessing="true">
  2. <match url="(.*)/supply-management-system/(.*)" />
  3. <conditions>
  4. <add input="{HTTP_HOST}" pattern="(.*)/supply-management-system/(.*)" />
  5. </conditions>
  6. <action type="Redirect" url="https://{HTTP_HOST}/{R:1}/{R:2}" appendQueryString="true" />
  7. </rule>
  8.  
  9. <rule name="Redirect Supply Management System traffic to https" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
  10. <match url="(^supply-management-system/.*)" />
  11. <conditions>
  12. <add input="{HTTPS}" pattern="off" />
  13. </conditions>
  14. <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" />
  15. </rule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement