From 91624037c7d73eb545478aab2f8abc55fc224453 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 11 Oct 2024 09:25:43 +0200 Subject: 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 --- data/.htaccess | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'data') diff --git a/data/.htaccess b/data/.htaccess index 32eca30f7..b66e80882 100644 --- a/data/.htaccess +++ b/data/.htaccess @@ -1,11 +1 @@ -# Apache 2.2 - - Order Allow,Deny - Deny from all - Satisfy all - - -# Apache 2.4 - - Require all denied - +Require all denied -- cgit v1.2.3