<rewrite> <rewritemaps> <rewritemap name="httptohttps" /> </rewritemaps> <rules> <rule name="http to https" stopprocessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirecttype="Found" /> </rule> </rules> </rewrite>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)