summaryrefslogtreecommitdiffstats
path: root/roundcubemail.conf
diff options
context:
space:
mode:
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>