<rule name="ForceNonHttps" stopProcessing="true"> <match url="(.*)" ignoreCase="true" negate="true" /> <conditions> <add input="{SERVER_PORT}" pattern="^443$" /> </conditions> <action type="Redirect" redirectType="Found" url="http://{HTTP_HOST}{REQUEST_URI}" /> </rule>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)