在某些情况下,Microsoft Exchange Autodiscover 服务请求可能会产生大量“噪音”,从而触发大量 HTTP 404(Not found)错误。
此示例自定义规则可阻止对 autodiscover.xml 和 autodiscover.src 的请求:
-
当传入请求匹配时:
使用表达式编辑器:
(ends_with(http.request.uri.path, "/autodiscover.xml") or ends_with(http.request.uri.path, "/autodiscover.src")) -
然后采取操作:阻止
或者,Business 或 Enterprise 计划的客户可以使用 matches 比较运算符达到相同的目的。在此示例中,表达式如下所示:
(http.request.uri.path matches "/autodiscover.(xml|src)$")