如何在具有多个目录的 IIS 6 上将 HTTP 重定向到 HTTPS?

How to redirect HTTP to HTTPS on IIS 6 with multiple directories?

我创建了一个包含多个子目录的网站 (Staging.my.website.edu),如以下屏幕截图所示:

我想做的是重定向 http://Staging.my.website.edu to https://Staging.my.website.edu 包括属于它的任何子目录。

我尝试使用下面的文章,虽然它确实重定向了 http://Staging.my.website.edu to https://Staging.my.website.edu 但它没有对 https://Staging.my.website.edu/[= 做同样的事情24=]advlp 目录

我尝试使用以下 link: http://blogs.microsoft.co.il/dorr/2009/01/13/how-to-force-redirection-from-http-to-https-on-iis-60/

如果您需要更多信息,请告诉我。

我终于在这个link中找到了答案:http://www.jppinto.com/2009/01/automatically-redirect-http-requests-to-https-on-iis-6/