问题描述
Hello Commnunity
Hello Commnunity
我最近在我们的SharePoint网站上安装了SSL,现在我尝试使用以下规则将所有HTTP请求重定向到HTTPS,但它不能正常工作
I recently installed SSL in our SharePoint site, I'm now trying to redirect all HTTP requests to HTTPS with below rule but it's not working
< rewrite>
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < rules>
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < rule name =" Devintranet HTTPS Redirect"启用= QUOT;真" patternSyntax = QUOT通配符" stopProcessing =" true">
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < match url ="(。*)" />
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < conditions logicalGrouping =" MatchAny">
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < add input =" {HTTPS}"图案= QUOT; ^ OFF $" />
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < / conditions>
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < action type =" Redirect" URL =" HTTPS:// {HTTP_HOST} / {R 1}" />
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < / rule>
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < / rules>
&NBSP; &NBSP; &NBSP; < / rewrite>
<rewrite>
<rules>
<rule name="Devintranet HTTPS Redirect" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAny">
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>
我错过了什么吗?在AAM下我有这个
Am I missing something? Under AAM I have this
内部网址 https://devintranet.ourdomain.com
Internal URL https://devintranet.ourdomain.com
区域 默认
区域的公开网址 https://devintranet.ourdomain.com
Public URL for Zone https://devintranet.ourdomain.com
Tapologo
推荐答案
这篇关于SharePoint HTTP到HTTPS重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!