summaryrefslogtreecommitdiffstats
path: root/etc/apache2
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-28 00:24:45 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-28 00:24:45 +0100
commit7f518f0753a9d323c516aa785af8d2311b0fd224 (patch)
tree720c427f7d72a5442fe880c6fdfe9bb768bfe38c /etc/apache2
parentcaa69cc477ec17a6ff692c2179bce8073c4dacf5 (diff)
downloadjenkins.debian.net-7f518f0753a9d323c516aa785af8d2311b0fd224.tar.xz
reproducible: provide suite specific views on issues
Diffstat (limited to 'etc/apache2')
-rw-r--r--etc/apache2/sites-available/jenkins.debian.net7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net
index 924c4492..17458ec9 100644
--- a/etc/apache2/sites-available/jenkins.debian.net
+++ b/etc/apache2/sites-available/jenkins.debian.net
@@ -159,6 +159,13 @@ Use common-debian-service-https-redirect reproducible.debian.net
RewriteCond %{REQUEST_URI} ^/userContent
RewriteRule ^/userContent/(.*)$ /$1 [R=301,L]
+ # redirect rb.d.n/issues/$ISSUE → rb.d.n/issues/unstable/$ISSUE
+ RewriteCond %{HTTP_HOST} reproducible\.debian\.net
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteCond /var/lib/jenkins/userContent/issues/unstable/$1 -f
+ RewriteRule ^/([a-z0-9.+-_]+) /issues/unstable/$1 [R=302,L]
+
# redirect rb.d.n/$PKG → rb.d.n/rb-pkg/unstable/amd64/$PKG.html
RewriteCond %{HTTP_HOST} reproducible\.debian\.net
RewriteCond %{REQUEST_FILENAME} !-f