在IIS上,我得到了一个带有两个端口80和443(https)的网站。我想将用户的所有http请求重定向到https。我还添加了Rewrite rule to https,但当我进入浏览器http://localhost/site时,它会显示相同的页面。我需要将用户重定向到httpS://localhost/site。我在IIS
我想为domainone.com自动重定向到https。我不想做自动重定向到domaintwo.com的https,因为我没有这个domaintwo.com的SSL证书。我只想用http打开它。url重写(IIS)中的规则如下。.*)
Check if input string: Matches the Pattern
Action