修改以下文件:C:\\Help\iisHelp\common\403-4.htm 替换为以下代码内容:

<!DOCTYPE  PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>该页必须通过安全通道查看</title>
<meta -equiv="Content-Type" content="text/html; charset=GB2312" />
</head>
<body>
<script type="text/javascript">
var url=window.location.href;
url=url.replace("http:","https:")
window.location.replace(url)
</script>
</body>
</>

接着,打开IIS》》网站》》属性》》目录安全性》》编辑》》要求安全通道打勾》》确定。 重启IIS。

Enjoy,不加https://,再访问下域名,是不是跳转了?

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

评论(1)

  • hannah 2015 年 3 月 2 日 下午 12:18

    留个爪印 表示来过~