c# - Redirect https to http using rewrite rule in webconfig file -


this have tried far.

 <rule name="https main site http" stopprocessing="true">        <match url="^(.*)$" ignorecase="true" />        <conditions>             <add input="{https}" pattern="off" />        </conditions>        <action type="redirect" url="http://{http_host}/{request_uri}" />  </rule> 

how can redirect https://www.mysite.com http://www.mysite.com

this asked long time ago, looks has been answered here: how force https using web.config file. pay close attention 1 of comments mentions query string appended twice if use full answer.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -