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

Redirection

+ + -- cgit v1.2.3