diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-21 15:27:50 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-21 15:27:50 +0200 |
commit | 168494c0db763d8cff41469388af8100cb1a5784 (patch) | |
tree | dff4ef506de3ff3079cf69104502af6897046fe2 /hosts/jenkins/etc | |
parent | cc3ab05984c71e85632ba32726e841b1b2027957 (diff) | |
download | jenkins.debian.net-168494c0db763d8cff41469388af8100cb1a5784.tar.xz |
reproducible: get rid off javascript in dashboard, thanks Ulrike
Diffstat (limited to 'hosts/jenkins/etc')
-rw-r--r-- | hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net index 5eb342ef..4345120c 100644 --- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net +++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net @@ -186,6 +186,13 @@ Use common-debian-service-https-redirect reproducible.debian.net RewriteCond /var/lib/jenkins/userContent/reproducible/rb-pkg/unstable/amd64/$1.html -f RewriteRule ^/([a-z0-9.+-]+) /rb-pkg/unstable/amd64/$1.html [R=302,L] + # redirect rb.d.n/reproducible.html?SrcPkg=$PKG → rb.d.n/rb-pkg/unstable/amd64/$PKG.html + RewriteCond %{HTTP_HOST} reproducible\.debian\.net + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond /var/lib/jenkins/userContent/reproducible/rb-pkg/unstable/amd64/$1.html -f + RewriteRule ^/reproducible.html?SrcPkg=([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 |