summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/apache2
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-17 00:45:47 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-17 00:45:47 +0200
commit9fcf60c4174154d201d35fa2f6a71476acd5e8ef (patch)
tree9695adc7b407fee681c3c3f2ec260704e08e0ccd /hosts/jenkins/etc/apache2
parent0adb646efb2c0828e1b5263545f42ad8a54d9951 (diff)
downloadjenkins.debian.net-9fcf60c4174154d201d35fa2f6a71476acd5e8ef.tar.xz
reproducible arch: redirect /archlinux/
Diffstat (limited to 'hosts/jenkins/etc/apache2')
-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 190eb2ed..f3218582 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]