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
Post a Comment