Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

how can i redirect https to http for particular folder with some aspx page

$
0
0

Hi

Recently i added http to https redirect rule but now i want to exclude one folder with couple of pages. how can change my rule from IIS .

Below is my rules from IIS.

<rule name="Redirect to HTTP" enabled="true" stopProcessing="true"><match url="^(?!members)" ignoreCase="true" /><conditions><add input="{HTTPS}" pattern="^OFF$" /><add input="{HTTP_HOST}" pattern="^([\d\w.]+)" negate="true" /></conditions><action type="Redirect" url="http://{HTTP_HOST}/{R:1}" redirectType="SeeOther" /></rule><rule name="Redirect to HTTPS" enabled="true" stopProcessing="true"><match url="(.*)" /><conditions><add input="{HTTPS}" pattern="^OFF$" /><add input="{HTTP_HOST}" pattern="localhost" negate="true" /></conditions><action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther" /></rule>	

Thank you

Vik


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>