From ccfeeb46e1e4be67e82511bf2e034b9dd5fd5d5f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 27 Aug 2015 14:47:11 +0200 Subject: reproducible freebsd: add redirect for /freebsd/ --- hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hosts/jenkins/etc/apache2/sites-available') 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] -- cgit v1.2.3-70-g09d2