aboutsummaryrefslogtreecommitdiff
path: root/apache2/main.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'apache2/main.conf.in')
-rw-r--r--apache2/main.conf.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/apache2/main.conf.in b/apache2/main.conf.in
new file mode 100644
index 0000000..302ab40
--- /dev/null
+++ b/apache2/main.conf.in
@@ -0,0 +1,18 @@
+
+# SPDX-License-Identifier: LGPL-3.0-or-later
+
+<Directory @datarootdir@/emailautoconf>
+ AllowOverride None
+ Require all granted
+</Directory>
+
+<Location "/.well-known/autoconfig/mail/config-v1.1.xml">
+ Alias "@datarootdir@/emailautoconf/php/thunderbird.php"
+ SetHandler application/x-httpd-php
+</Location>
+
+<Location "/autodiscover/autodiscover.xml">
+ Alias "@datarootdir@/emailautoconf/php/outlook.php"
+ SetHandler application/x-httpd-php
+</Location>
+