From 8de56a9f5751d8199cd497031739560b298dd344 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 3 Mar 2015 02:19:14 +0100 Subject: apache: reproducible: fixup redirectes wrongly commited half-done. Now (/sid|/experimental) redirects to (/sid|/experimental)/index_suite_stats.html --- etc/apache2/sites-available/jenkins.debian.net | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'etc/apache2') diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index a2799fbe..2944175c 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -205,11 +205,9 @@ Use common-debian-service-https-redirect reproducible.debian.net RewriteRule ^/?(.+) /sid/amd64/$1 [R=301,L] # redirect (/sid|/experimental) to (/sid|/experimental)/index_suite_stats.html + # note: the missing slash in the RewriteRule is wanted to avoid a double slash RewriteCond %{HTTP_HOST} reproducible\.debian\.net - RewriteCond %{REQUEST_FILENAME} !-d - RewriteCond %{REQUEST_URI} ^/$ - RewriteRule ^/(.*) /reproducible.html [R,L] - - + RewriteCond %{REQUEST_URI} ^/(sid|experimental)/$ + RewriteRule ^/(.*) /$1index_suite_stats.html [R,L] -- cgit v1.2.3-70-g09d2