【问题标题】:http to https redirection for SharePoint 2010 Intranet siteSharePoint 2010 Intranet 网站的 http 到 https 重定向
【发布时间】:2012-05-31 03:27:38
【问题描述】:

我想在 SharePoint 2010 Intranet 网站上执行 http 到 https 重定向。我从搜索中得到的一种方法是 URL Re-write。

我正在尝试将 http 请求自动重定向到我的 sharepoint 2010 站点的 https 请求。

我正在使用 URL 重写模块来实现这一点,下面是我使用的规则:

<rule name="Redirect to HTTPS" stopProcessing="true"><match url="(.*)" /><conditions>  

我已取消选中此站点的需要 SSL 选项。但是当我点击 Http url 时,它仍然显示“错误 504”并且页面没有被重定向。 如果你有这方面的工作,请指导我。

如果有比 URL Re-write 更好的方法,请提出建议。

问候,

稻田

【问题讨论】:

    标签: sharepoint sharepoint-2010


    【解决方案1】:

    其实有一个非常简单的方法。

    创建一个名为“redirect - http://www.site-name.com”的新站点 将其映射到端口 80 并在其中放置一个包含以下信息的 webconfig。这将是唯一的文件。


    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <httpRedirect enabled="true" destination="https://www.site-name.com" />
        </system.webServer>
    </configuration>
    

    简单,像冠军一样工作

    【讨论】:

      【解决方案2】:

      为什么不Alternate Access Mappings?据我所知,就是这样。

      问候!

      【讨论】:

        猜你喜欢
        • 2013-07-03
        • 1970-01-01
        • 2017-01-22
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多