[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fix redirect

Holger Levsen holger at moszumanska.debian.org
Mon Jan 25 12:55:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 1906d5f73fd35244558595d166c07f0270546700
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jan 25 13:54:55 2016 +0100

    reproducible: fix redirect
---
 hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 96a1f2e..72c2d38 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list