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 --- extensions/.htaccess | 1 + extensions/index.html | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 extensions/.htaccess create mode 100644 extensions/index.html (limited to 'extensions') diff --git a/extensions/.htaccess b/extensions/.htaccess new file mode 100644 index 000000000..b66e80882 --- /dev/null +++ b/extensions/.htaccess @@ -0,0 +1 @@ +Require all denied diff --git a/extensions/index.html b/extensions/index.html new file mode 100644 index 000000000..85faaa37e --- /dev/null +++ b/extensions/index.html @@ -0,0 +1,13 @@ + + + + + +Redirection + + + + +

Redirection

+ + -- cgit v1.2.3