Vin*_*rão 3 exchange https redirect iis-8 exchange-2013
我正在尝试使用 IIS 界面设置从http://webmail.domain.com到我们 Exchange Server 2013 CU1 的https://webmail.domain.com/owa的自动重定向。
仅重定向默认网站或 iisstart.htm 重定向的旧技巧仅适用于https://webmail.domain.com(请注意,我们需要指定 https)。仅使用 http:// 最终会出现在 IIS 的 403 Forbidden 页面中。
问题是:如何正确设置,以便我们的用户可以连接到 webmail.domain.com 并自动重定向到https://webmail.domain.com/owa
谢谢,
我能够使用 IIS Rewrite Mod 解决我自己的问题。当我发现这个时我有点困惑,因为 Rewrite Mod 在 Unix 世界和 Apache Web Server 中是众所周知的。
无论如何,刚刚从这里下载并安装了 IIS Rewrite Mod:http : //www.microsoft.com/en-us/download/details.aspx?id=7435
然后使用以下 XML 代码修改 wwwroot 中的 web.config:
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="HTTPS Redirect" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
通过这种方法,我能够在 Exchange 2013 中将 HTTP 重定向到 HTTPS。
并且不要忘记禁用 IIS 控制面板上默认网站中的“需要 SSL”选项,否则您将获得 403 未经授权的错误页面。
| 归档时间: |
|
| 查看次数: |
22297 次 |
| 最近记录: |