将HTTPredirect到使用IIS的HTTPS不适用于SharePoint站点

我有一个Web应用程序。 其AAM如下 –

Zone Public URL for Zone Default http://sharepoint:46543 Internet http://abc.something.com Custom https://abc.something.com 

在使用IIS Rewrite模块之前,如果我从任何区域访问站点,它都可以正常工作。

但是,一旦我configuration重写模块如下 –

匹配URL部分

 Requested URL = Matches the Pattren Using = Regular Expression Pattren = (.*) 

Conditioins

 Logical Grouping = Match All Condition Input = {HTTPS} Check if input string = Matches the pattren Pattren = ^OFF$ 

操作

 Action Type = Redirect Redirect URL = https://{HTTP_HOST}/{R:1} Append Query String = True Redirect Type = See Other (303) 

如果我尝试访问Web Front Server上的站点,即使用默认区域http://sharepoint:46543则网站无法打开。 甚至中央政府现在也停止开放。

如果我尝试访问Internet区域http://abc.something.com那么它会被redirect到自定义区域https://abc.something.com但它不会打开该网站。 即使我尝试通过直接inputURL访问自定义区域网站,它也不会打开。

我究竟做错了什么?

configuration看起来正确。 我唯一的区别是redirecttypes为Found(302)。

您在服务器上的testing – 默认情况下,由于回送检查,您将无法访问。 在registryHKEY_LM\System\CCS\Control\LSA\MSV1.0findBackConnectionsHostsNames多string值并input您的共享点站点的名称(abc.something.com)

如果你的testing是从箱子外面失败的,那就不是循环回来了。 在这种情况下,请确保防火墙允许请求,为端口80和443configurationIIS绑定(并分配证书)。 如果您有多个站点在相同的IP /端口上侦听,则必须使用主机标头,否则IIS将不会启动所有站点。