summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-10-11 09:25:43 +0200
committerGravatar GitHub <noreply@github.com> 2024-10-11 09:25:43 +0200
commit91624037c7d73eb545478aab2f8abc55fc224453 (patch)
treec1de6a07d7e30c5e88c3de40fd152e5304722cca /data
parentb30a8fa652018025f8ccc6b361823486d04cf390 (diff)
Apache protect more non-public folders and files (#6881)
* Apache protect more non-public folders * Also protect root * Do the same for /p/ * Simplify Require all denied In case of Apache 2.2, it will just make an error 500 instead of 403 * .htaccess.dist * Simplify * Better comment
Diffstat (limited to 'data')
-rw-r--r--data/.htaccess12
1 files changed, 1 insertions, 11 deletions
diff --git a/data/.htaccess b/data/.htaccess
index 32eca30f7..b66e80882 100644
--- a/data/.htaccess
+++ b/data/.htaccess
@@ -1,11 +1 @@
-# 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>
+Require all denied