diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-19 00:54:56 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-19 00:54:56 +0100 |
commit | af3f7216b0570bee3fea051124dd8c76458070aa (patch) | |
tree | 9bde40b250ddba2e05c65b498bbe7c18f9cc4617 /etc/apache2/sites-available | |
parent | 20906b693faf91f88f62828fd9a31289b8047078 (diff) | |
download | jenkins.debian.net-af3f7216b0570bee3fea051124dd8c76458070aa.tar.xz |
reproducible: redirect packages only in experimental too
Diffstat (limited to 'etc/apache2/sites-available')
-rw-r--r-- | etc/apache2/sites-available/jenkins.debian.net | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index 54f23c1a..6197fb9e 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -165,6 +165,14 @@ Use common-debian-service-https-redirect reproducible.debian.net RewriteCond /var/lib/jenkins/userContent/rb-pkg/unstable/amd64/$1.html -f RewriteRule ^/([a-z0-9.+-]+) /rb-pkg/unstable/amd64/$1.html [R=302,L] + # redirect rb.d.n/$PKG → rb.d.n/rb-pkg/experimental/amd64/$PKG.html + # (this is the fallback for the previous redirect and should only catch packages which are only in experimental) + RewriteCond %{HTTP_HOST} reproducible\.debian\.net + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond /var/lib/jenkins/userContent/rb-pkg/experimental/amd64/$1.html -f + RewriteRule ^/([a-z0-9.+-]+) /rb-pkg/experimental/amd64/$1.html [R=302,L] + # redirect rb.d.n/$suite/amd64/$PKG → rb.d.n/rb-pkg/$suite/amd64/$PKG.html RewriteCond %{HTTP_HOST} reproducible\.debian\.net RewriteCond %{REQUEST_FILENAME} !-f |