aboutsummaryrefslogtreecommitdiff
path: root/lib/.htaccess
diff options
context:
space:
mode:
authorGravatar koocotte <seb.github@koocotte.org> 2019-07-31 13:48:06 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-07-31 13:48:06 +0200
commitf5fbc0c7f08efd616a4d24985916d88a846d1723 (patch)
tree3c88c827189df1acf0fba5ba1bd8ef0bceab95cd /lib/.htaccess
parent005b77e076610050b0a4e7c82da23a00bc79ce3d (diff)
Patch for #2460: Run on Apache 2.4+ without mod_access_compat (#2461)
* Update .htaccess * Update htaccess for apache2.4 * Update htaccess for apache2.4 * Update htaccess for apache2.4
Diffstat (limited to 'lib/.htaccess')
-rw-r--r--lib/.htaccess14
1 files changed, 11 insertions, 3 deletions
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>