Rewriting URLs from https:// to http:// in IIS7

前端 未结 4 821
孤独总比滥情好
孤独总比滥情好 2020-12-04 14:51

I\'m trying to rewrite urls from the form:

https://example.com/about

to the form

http://example.com/about

4条回答
  •  没有蜡笔的小新
    2020-12-04 14:59

    Turns out that I had port :443 bound to a different website!

    The above rewrite rules work fine for http:// to https:// rewriting and vice-versa -- though there might be more optimal or simple ways to do it.

    Leaving this question here for future voyagers to find, as I didn't see many good examples of the https:// to http:// rewriting scenario on the web.

提交回复
热议问题