diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-27 14:47:11 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-27 14:47:11 +0200 |
commit | ccfeeb46e1e4be67e82511bf2e034b9dd5fd5d5f (patch) | |
tree | d5a080c61750f10cd0bacbf8da7ac5f46d1f1399 | |
parent | 27ea102b7e28a6e41f5750a7e35e3e0c701673bd (diff) | |
download | jenkins.debian.net-ccfeeb46e1e4be67e82511bf2e034b9dd5fd5d5f.tar.xz |
reproducible freebsd: add redirect for /freebsd/
-rw-r--r-- | hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net | 6 |
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] |