diff options
| author | 2024-10-11 09:25:43 +0200 | |
|---|---|---|
| committer | 2024-10-11 09:25:43 +0200 | |
| commit | 91624037c7d73eb545478aab2f8abc55fc224453 (patch) | |
| tree | c1de6a07d7e30c5e88c3de40fd152e5304722cca /data | |
| parent | b30a8fa652018025f8ccc6b361823486d04cf390 (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/.htaccess | 12 |
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 |
