From 5d598f2a486bfb7619f294eeb606aa114f183349 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 13 Oct 2016 08:56:39 +0200 Subject: [PATCH] remove double slashes on metadata.ftp-master.debian.org --- .../static-mirroring/vhost/static-vhosts-simple.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 198ea2a6d..738ad3a11 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -22,6 +22,11 @@ + # Rewrite away double slashes + RewriteEngine on + RewriteCond %{THE_REQUEST} // + RewriteRule ^.*$ $0 [R=302,L,NE] + AddDefaultCharset utf-8 ForceType text/plain -- 2.20.1