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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -