我使用IIS7 7的HTTP Redirect特性将http://example.com请求重定向到http://www.example.com,但不能在https协议中以这种方式使用该特性。
是否可以使用IHttpHandler来完成这一任务?
发布于 2013-07-26 19:47:35
如果您使用IIS7,您可能需要尝试URL重写模块。
https://web.archive.org/web/20211020203216/https://www.4guysfromrolla.com/articles/072810-1.aspx
http://www.jppinto.com/2010/03/automatically-redirect-http-requests-to-https-on-iis7-using-url-rewrite-2-0/
https://stackoverflow.com/questions/17888958
复制相似问题