Auto configure and outlook

Outlook was looking for auto configure files in the location:

autodiscover was looking at /autodiscover/autodiscover.json and not /autodiscover/autodiscover.xml

To repair this, I’ve changed the line in autoconfigure.cgi
if ($ENV{‘SCRIPT_NAME’} =~ /autodiscover.xml/i) {
if (($ENV{‘SCRIPT_NAME’} =~ /autodiscover.xml/i) ||($ENV{‘SCRIPT_NAME’} =~ /autodiscover.json/i)) {

I’d like to add this to the template for the XML file so it is not accidentally over-written while tweaking options in the server templates autoconfigure panel.

Where can I make this change?

I’d like to avoid having to update this by hand per-user, is there somewhere in virtualmin to edit the entire script and not just the XML portion?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.