From 208f1db3b29e930d750c87ac70fb41a3324a98a0 Mon Sep 17 00:00:00 2001 From: sigmoidal Date: Tue, 26 Jan 2021 22:20:03 +0200 Subject: [PATCH] Update .htaccess (#9001) .htaccess will work on both apache v2.2 and v2.4 (without this change, on upgrade, an internal error on the server occurs) --- .htaccess | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 93ca6c0e48..2f389fb2af 100644 --- a/.htaccess +++ b/.htaccess @@ -5,7 +5,15 @@ # Make sure .env files not not browseable if in a sub-directory. - Deny from all + # Apache 2.2 + + Deny from all + + + # Apache 2.4+ + + Require all denied +