From 157944b77422b3af61f7c3ff9557387940275cd9 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 13 May 2022 18:01:06 -0700 Subject: [PATCH] Try conditiinal formatting to support apache 2.2 and 2.4 Signed-off-by: snipe --- public/.htaccess | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/public/.htaccess b/public/.htaccess index ef7365142c..f2c92b3005 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -37,6 +37,22 @@ Options -Indexes - - Deny from all - +# DENY ACCESS TO IIS CONFIG FILE + +# Apache 2.2+ + + + Order allow,deny + Deny from all + + + +# Apache 2.4+ + + + Require all denied + + + + +