且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 IIS7 中将 URL 从 https://重写为 http://

更新时间:2022-11-26 19:31:57

结果是我将端口 :443 绑定到了不同的网站!

上述重写规则适用于 http://到 https://的重写,反之亦然——尽管可能有更优化或更简单的方法来做到这一点.

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.

把这个问题留在这里让未来的航海者去寻找,因为我在网上没有看到很多关于 https://到 http://重写场景的好例子.

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.