summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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>