aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/.htaccess14
-rw-r--r--cli/.htaccess14
-rw-r--r--data/.htaccess14
-rw-r--r--lib/.htaccess14
4 files changed, 44 insertions, 12 deletions
diff --git a/app/.htaccess b/app/.htaccess
index 9e768397d..32eca30f7 100644
--- a/app/.htaccess
+++ b/app/.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>
diff --git a/cli/.htaccess b/cli/.htaccess
index 9e768397d..32eca30f7 100644
--- a/cli/.htaccess
+++ b/cli/.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>
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>
diff --git a/lib/.htaccess b/lib/.htaccess
index 9e768397d..32eca30f7 100644
--- a/lib/.htaccess
+++ b/lib/.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>