From 26e3dc1be6391feabcad398931fadd2db8cea467 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 11 Dec 2023 18:19:38 +0100 Subject: [PATCH] apache: use backward compatible Redirect directive --- CHANGELOG.md | 1 + apache/files/evolinux-defaults.conf | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56c21f93..42aee7fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * add-vm.sh: allow VM name max length > 20 * apache : fix goaway pattern for bad bots * apache : rename MaxRequestsPerChild to MaxConnectionsPerChild (new name) +* apache: use backward compatible Redirect directive * apt: Disable archive repository for Debian 8 * apt: Use the GPG version of the key for Debian 8-9 * bind: Update role for Buster, Bullseye and Bookworm support diff --git a/apache/files/evolinux-defaults.conf b/apache/files/evolinux-defaults.conf index 73b7f136..c05f77f2 100644 --- a/apache/files/evolinux-defaults.conf +++ b/apache/files/evolinux-defaults.conf @@ -48,17 +48,17 @@ MaxKeepAliveRequests 10 # We don't want to let the client know a file exist on the server, # so we return 404 "Not found" instead of 403 "Forbidden". - Redirect 404 + Redirect 404 "-" # File names starting with - Redirect 404 + Redirect 404 "-" # File names ending with - Redirect 404 + Redirect 404 "-"