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

Holger Levsen holger at moszumanska.debian.org
Fri Oct 16 22:46:37 UTC 2015


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 9fcf60c4174154d201d35fa2f6a71476acd5e8ef
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Oct 17 00:45:47 2015 +0200

    reproducible arch: redirect /archlinux/
---
 hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
index 190eb2e..f321858 100644
--- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
+++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
@@ -294,6 +294,12 @@ Use common-debian-service-https-redirect reproducible-builds.org
 	RewriteCond %{REQUEST_URI} ^/freebsd/$
 	RewriteRule ^/(.*) /freebsd/freebsd.html [R,L]
 
+	# redirect /archlinux/ to archlinux/archlinux.html
+	# note: the missing slash in the RewriteRule is wanted to avoid a double slash
+	RewriteCond %{HTTP_HOST} reproducible\.debian\.net
+	RewriteCond %{REQUEST_URI} ^/archlinux/$
+	RewriteRule ^/(.*) /archlinux/archlinux.html [R,L]
+
 	# redirect /issues/ to /index_issues.html
 	RewriteCond %{REQUEST_URI} ^/issues/$
 	RewriteRule ^/(.*) /index_issues.html [R,L]

-- 
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