summaryrefslogtreecommitdiffstats
path: root/etc/apache2
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-03 02:19:14 +0100
committerMattia Rizzolo <mattia@mapreri.org>2015-03-03 02:21:35 +0100
commit8de56a9f5751d8199cd497031739560b298dd344 (patch)
treebdbecf54463ce788174b6fc77c5fc4bf4908c706 /etc/apache2
parent0db9ace8b51469372958f8412d78bef38e3ee824 (diff)
downloadjenkins.debian.net-8de56a9f5751d8199cd497031739560b298dd344.tar.xz
apache: reproducible: fixup redirectes wrongly commited half-done. Now (/sid|/experimental) redirects to (/sid|/experimental)/index_suite_stats.html
Diffstat (limited to 'etc/apache2')
-rw-r--r--etc/apache2/sites-available/jenkins.debian.net8
1 files changed, 3 insertions, 5 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net
index a2799fbe..2944175c 100644
--- a/etc/apache2/sites-available/jenkins.debian.net
+++ b/etc/apache2/sites-available/jenkins.debian.net
@@ -205,11 +205,9 @@ Use common-debian-service-https-redirect reproducible.debian.net
RewriteRule ^/?(.+) /sid/amd64/$1 [R=301,L]
# redirect (/sid|/experimental) to (/sid|/experimental)/index_suite_stats.html
+ # note: the missing slash in the RewriteRule is wanted to avoid a double slash
RewriteCond %{HTTP_HOST} reproducible\.debian\.net
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_URI} ^/$
- RewriteRule ^/(.*) /reproducible.html [R,L]
-
-
+ RewriteCond %{REQUEST_URI} ^/(sid|experimental)/$
+ RewriteRule ^/(.*) /$1index_suite_stats.html [R,L]
</VirtualHost>