aboutsummaryrefslogtreecommitdiff
path: root/data/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'data/.htaccess')
-rw-r--r--data/.htaccess14
1 files changed, 11 insertions, 3 deletions
diff --git a/data/.htaccess b/data/.htaccess
index 9e768397d..32eca30f7 100644
--- a/data/.htaccess
+++ b/data/.htaccess
@@ -1,3 +1,11 @@
-Order Allow,Deny
-Deny from all
-Satisfy all
+# Apache 2.2
+<IfModule !mod_authz_core.c>
+ Order Allow,Deny
+ Deny from all
+ Satisfy all
+</IfModule>
+
+# Apache 2.4
+<IfModule mod_authz_core.c>
+ Require all denied
+</IfModule>