Cloudflare Docs
Firewall
Visit Firewall on GitHub
Set theme to dark (⇧+D)

Block Microsoft Exchange Autodiscover requests

In some cases, Microsoft Exchange Autodiscover service requests can be “noisy,” triggering large numbers of HTTP 404 (Page Not Found) errors.

This example uses the matches comparison operator and a regular expression to block autodiscover.xml and autodiscover.src requests:

Expression Action
http.request.uri.path matches "/autodiscover.(xml|src)$" Block