从HTTP重定向到HTTPS - IIS 7.5

从HTTP重定向到HTTPS  -  IIS 7.5

问题描述:

我已经实现HTTPS上我的应用程序,现在我试图让IIS重定向所有的HTTP请求到https,让用户不会察觉到这种变化。

I have implemented https on my application and now i'm trying to make IIS redirect all http request to https, so that the user doesn't even notice this change.

我已经改变,尝试了一些的IIS选项,但没有运气。

I have changed and tried some of the IIS options but with no luck.

我怎样才能做到这一点?

How can i do this?

我使用的是IIS 7.5和ASP.NET 2.0

I'm using IIS 7.5 and ASP.NET 2.0

问候,

您可以安装 RewriteModule 并按照指示在此页面

You can install the RewriteModule and follow the instructions on this page.