From 1906d5f73fd35244558595d166c07f0270546700 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 25 Jan 2016 13:54:55 +0100 Subject: reproducible: fix redirect --- hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/jenkins') diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf index 96a1f2ea..72c2d38a 100644 --- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf +++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf @@ -278,7 +278,7 @@ Use common-debian-service-https-redirect reproducible-builds.org # note: the missing slash in the RewriteRule is wanted to avoid a double slash RewriteCond %{HTTP_HOST} reproducible\.debian\.net RewriteCond %{REQUEST_URI} ^/(testing|unstable|experimental)(/|)$ - RewriteRule ^/(.*) https://tests.reproducible-builds.org/$1index_suite_amd64_stats.html [R,L] + RewriteRule ^/(.*) https://tests.reproducible-builds.org/$1/index_suite_amd64_stats.html [R,L] # redirect (/testing|unstable|/experimental)/(amd64|armhf) to (/testing|/unstable|/experimental)/index_suite_(amd64|armhf)_stats.html RewriteCond %{HTTP_HOST} reproducible\.debian\.net @@ -450,7 +450,7 @@ Use common-debian-service-https-redirect reproducible-builds.org # note: the missing slash in the RewriteRule is wanted to avoid a double slash RewriteCond %{HTTP_HOST} tests\.reproducible-builds\.org RewriteCond %{REQUEST_URI} ^/(testing|unstable|experimental)(/|)$ - RewriteRule ^/(.*) /$1index_suite_amd64_stats.html [R,L] + RewriteRule ^/(.*) /$1/index_suite_amd64_stats.html [R,L] # redirect (/testing|unstable|/experimental)/(amd64|armhf) to (/testing|/unstable|/experimental)/index_suite_(amd64|armhf)_stats.html RewriteCond %{HTTP_HOST} tests\.reproducible-builds\.org -- cgit v1.2.3-70-g09d2