summaryrefslogtreecommitdiffstats
path: root/etc/apache2
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-01 17:20:13 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-01 17:21:43 +0100
commit9bdd3fd794172e2291e471dbfecbc7a52ffefde6 (patch)
tree3897329a32d73e90346aab9fe701ae8a46d0087c /etc/apache2
parent4ab5370f569bf46269115bb51c3c7fc913d10523 (diff)
downloadjenkins.debian.net-9bdd3fd794172e2291e471dbfecbc7a52ffefde6.tar.xz
apache: fix reproducible redirects
Diffstat (limited to 'etc/apache2')
-rw-r--r--etc/apache2/sites-available/jenkins.debian.net8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net
index 63ba0276..cafde641 100644
--- a/etc/apache2/sites-available/jenkins.debian.net
+++ b/etc/apache2/sites-available/jenkins.debian.net
@@ -170,24 +170,24 @@ Use common-debian-service-https-redirect reproducible.debian.net
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond /var/lib/jenkins/userContent/rb-pkg/sid/amd64/$1 -f
- RewriteRule ^/rb-pkg/([a-z0-9.+-]+) /rb-pkg/sid/am64/$1 [R=302,L]
+ RewriteRule ^/rb-pkg/([a-z0-9.+-]+) /rb-pkg/sid/amd64/$1 [R=302,L]
# the same for /dbd/
RewriteCond %{HTTP_HOST} reproducible\.debian\.net
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond /var/lib/jenkins/userContent/dbd/sid/amd64/$1 -f
- RewriteRule ^/dbd/([a-z0-9.+-]+) /dbd/sid/am64/$1 [R=302,L]
+ RewriteRule ^/dbd/([a-z0-9.+-_]+) /dbd/sid/amd64/$1 [R=302,L]
# the same for /rbuild/
RewriteCond %{HTTP_HOST} reproducible\.debian\.net
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond /var/lib/jenkins/userContent/rbuild/sid/amd64/$1 -f
- RewriteRule ^/rbuild/([a-z0-9.+-]+) /rbuild/sid/am64/$1 [R=302,L]
+ RewriteRule ^/rbuild/([a-z0-9.+-_]+) /rbuild/sid/amd64/$1 [R=302,L]
# the same for /buildinfo/
RewriteCond %{HTTP_HOST} reproducible\.debian\.net
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond /var/lib/jenkins/userContent/buildinfo/sid/amd64/$1 -f
- RewriteRule ^/buildinfo/([a-z0-9.+-]+) /buildinfo/sid/am64/$1 [R=302,L]
+ RewriteRule ^/buildinfo/([a-z0-9.+-_]+) /buildinfo/sid/amd64/$1 [R=302,L]
</VirtualHost>