summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-27 14:47:11 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-27 14:47:11 +0200
commitccfeeb46e1e4be67e82511bf2e034b9dd5fd5d5f (patch)
treed5a080c61750f10cd0bacbf8da7ac5f46d1f1399 /hosts/jenkins
parent27ea102b7e28a6e41f5750a7e35e3e0c701673bd (diff)
downloadjenkins.debian.net-ccfeeb46e1e4be67e82511bf2e034b9dd5fd5d5f.tar.xz
reproducible freebsd: add redirect for /freebsd/
Diffstat (limited to 'hosts/jenkins')
-rw-r--r--hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net6
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
index ea377771..32d99587 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]