aboutsummaryrefslogtreecommitdiff
path: root/apache2
diff options
context:
space:
mode:
Diffstat (limited to 'apache2')
-rw-r--r--apache2/.gitignore4
-rw-r--r--apache2/autoconfig.conf.in13
-rw-r--r--apache2/autodiscover.conf.in13
-rw-r--r--apache2/main.conf.in18
4 files changed, 48 insertions, 0 deletions
diff --git a/apache2/.gitignore b/apache2/.gitignore
new file mode 100644
index 0000000..f26d60f
--- /dev/null
+++ b/apache2/.gitignore
@@ -0,0 +1,4 @@
+main.conf
+
+autoconfig.conf
+autodiscover.conf
diff --git a/apache2/autoconfig.conf.in b/apache2/autoconfig.conf.in
new file mode 100644
index 0000000..68305fa
--- /dev/null
+++ b/apache2/autoconfig.conf.in
@@ -0,0 +1,13 @@
+
+# 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>
+
diff --git a/apache2/autodiscover.conf.in b/apache2/autodiscover.conf.in
new file mode 100644
index 0000000..4ce104b
--- /dev/null
+++ b/apache2/autodiscover.conf.in
@@ -0,0 +1,13 @@
+
+# SPDX-License-Identifier: LGPL-3.0-or-later
+
+<Directory @datarootdir@/emailautoconf>
+ AllowOverride None
+ Require all granted
+</Directory>
+
+<Location "/autodiscover/autodiscover.xml">
+ Alias "@datarootdir@/emailautoconf/php/outlook.php"
+ SetHandler application/x-httpd-php
+</Location>
+
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>
+