[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible freebsd: add redirect for /freebsd/
Holger Levsen
holger at moszumanska.debian.org
Thu Aug 27 12:47:32 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 ccfeeb46e1e4be67e82511bf2e034b9dd5fd5d5f
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Aug 27 14:47:11 2015 +0200
reproducible freebsd: add redirect for /freebsd/
---
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 ea37777..32d9958 100644
--- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
+++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
@@ -273,6 +273,12 @@ Use common-debian-service-https-redirect reproducible.debian.net
RewriteCond %{REQUEST_URI} ^/netbsd/$
RewriteRule ^/(.*) /netbsd/netbsd.html [R,L]
+ # redirect /freebsd/ to freebsd/freebsd.html
+ # note: the missing slash in the RewriteRule is wanted to avoid a double slash
+ RewriteCond %{HTTP_HOST} reproducible\.debian\.net
+ RewriteCond %{REQUEST_URI} ^/freebsd/$
+ RewriteRule ^/(.*) /freebsd/freebsd.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