用于 Exchange 的 Apache 反向代理

用于 Exchange 的 Apache 反向代理

我已经为我们的 Exchange 2013 服务器设置了一个 Apache 反向代理。Outlook anywhere 运行良好,实际上所有 Android、IOS 和 Windows 设备都可以无问题地连接。我们遇到的唯一问题是使用 Mac OS 设备安装 Outlook for Mac,它们使用 EWS 而不是 outlook anywhere。

这是 apache 访问日志的片段:

5.170.197.216 - - [15/Dec/2016:16:00:15 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 3844 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:15 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 965 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:15 +0100] "POST /ews/exchange.asmx HTTP/1.1" 200 7054 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:15 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 402 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:15 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 965 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:15 +0100] "POST /ews/exchange.asmx HTTP/1.1" 200 2139 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:15 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 402 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:15 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 965 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 200 2164 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 540 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 540 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 402 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 540 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 540 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 965 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 965 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 965 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 965 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 965 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 386 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 200 12566 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 200 22043 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 386 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 402 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 200 1973 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 965 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:16:00:16 +0100] "POST /ews/exchange.asmx HTTP/1.1" 401 386 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"
5.170.197.216 - - [15/Dec/2016:15:58:43 +0100] "POST /ews/exchange.asmx HTTP/1.1" 200 4384 "-" "MacOutlook/15.29.0.161209 (Intelx64 Mac OS X Version 10.12.1 (Build 16B2555))"

如您所见,客户端在 2 秒内多次调用 /ews/exchange.asmx,有时 apache 会给出 200 但大多数情况下会给出 401。事实上,对客户端的影响是它似乎工作了一会儿,然后就断开了。

知道这是啥吗?

提前感谢你的帮助,詹姆斯

相关内容