我使用 IIS7 的HTTP Redirect功能将http://example.com请求重定向到http://www.example.com但此功能不能以这种方式与https协议一起使用。
是否可以IHttpHandler用来完成此任务?
我使用 IIS7 的HTTP Redirect功能将http://example.com请求重定向到http://www.example.com但此功能不能以这种方式与https协议一起使用。
是否可以IHttpHandler用来完成此任务?
如果您使用 IIS7,您可能想尝试 URL Rewrite Module。