summaryrefslogtreecommitdiffstats
path: root/roundcubemail.conf
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-01-21 20:05:04 +0100
committerRemi Collet <fedora@famillecollet.com>2013-01-21 20:05:04 +0100
commit62b60f4cc06bfcdbe21ccf5c52c6d0f287406401 (patch)
tree4a5278b07d5f25262151b6e22b73c010c8bc5b3b /roundcubemail.conf
parent751faaf6ee5efb05b5bc68f68c05a2de265e3142 (diff)
roundcubemail: fix configuration for httpd 2.4 (missing in backport)
Diffstat (limited to 'roundcubemail.conf')
-rw-r--r--roundcubemail.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/roundcubemail.conf b/roundcubemail.conf
index 2e4b213..5911949 100644
--- a/roundcubemail.conf
+++ b/roundcubemail.conf
@@ -5,7 +5,15 @@
Alias /roundcubemail /usr/share/roundcubemail
<Directory /usr/share/roundcubemail/>
+ <IfModule mod_authz_core.c>
+ # Apache 2.4
+ Require local
+ </IfModule>
+ <IfModule !mod_authz_core.c>
+ # Apache 2.2
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
+ Allow from ::1
+ </IfModule>
</Directory>