The workaround that works well for me is to create a custom httpd.conf that redirects the autodiscover request to the correct server, the issue with Office 365 would be what is the correct server and will that server ever change?
in:
/usr/local/apache/conf/userdata/ssl/2_4/username/domain.com/autodiscover.conf
and
/usr/local/apache/conf/userdata/std/2_4/username/domain.com/autodiscover.conf
put:
Redirect permanent /Autodiscover/Autodiscover.xml https://exchange.domain.com/Autodiscover/Autodiscover.xml
Redirect permanent /autodiscover/autodiscover.xml https://exchange.domain.com/autodiscover/autodiscover.xml
Then there's a command to re-create the httpd.conf, sorry I don't recall it off the top of my head.
in:
/usr/local/apache/conf/userdata/ssl/2_4/username/domain.com/autodiscover.conf
and
/usr/local/apache/conf/userdata/std/2_4/username/domain.com/autodiscover.conf
put:
Redirect permanent /Autodiscover/Autodiscover.xml https://exchange.domain.com/Autodiscover/Autodiscover.xml
Redirect permanent /autodiscover/autodiscover.xml https://exchange.domain.com/autodiscover/autodiscover.xml
Then there's a command to re-create the httpd.conf, sorry I don't recall it off the top of my head.