diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-01-20 15:11:16 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-01-20 15:11:16 +0100 |
commit | 416335eae39c8470f0afee4e7d35254760833b66 (patch) | |
tree | cc2bb616168ee2bd6b3574f937e1dae4ba307c42 /hosts/jenkins/etc/apache2/sites-available | |
parent | 1cea92369362fde4d93c485363391b557fac2443 (diff) | |
download | jenkins.debian.net-416335eae39c8470f0afee4e7d35254760833b66.tar.xz |
reproducible: also correctly rewrite /debian/ and /fedora/ URLs
Diffstat (limited to 'hosts/jenkins/etc/apache2/sites-available')
-rw-r--r-- | hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf index a81f04da..c98b4f46 100644 --- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf +++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf @@ -144,7 +144,6 @@ Use common-debian-service-https-redirect reproducible-builds.org RewriteCond %{REQUEST_URI} ^/userContent/rbuild/ RewriteRule ^/?(.*) https://reproducible.debian.net/$1 [R=301,L] - <Proxy *> Require all granted </Proxy> @@ -488,9 +487,19 @@ Use common-debian-service-https-redirect reproducible-builds.org RewriteRule ^/(.*) /archlinux/archlinux.html [R,L] # redirect /issues/ to /index_issues.html + RewriteCond %{HTTP_HOST} tests\.reproducible-builds\.org RewriteCond %{REQUEST_URI} ^/issues/$ RewriteRule ^/(.*) /index_issues.html [R,L] + # temporary redirects until the html is rewritten + RewriteCond %{HTTP_HOST} tests\.reproducible-builds\.org + RewriteCond %{REQUEST_URI} ^/debian/$ + RewriteRule ^/?(.*) /reproducible.html [R,L] + # and another: + RewriteCond %{HTTP_HOST} tests\.reproducible-builds\.org + RewriteCond %{REQUEST_URI} ^/fedora/$ + RewriteRule ^/?(.*) /rpms/fedora-23.html [R,L] + <Proxy *> Require all granted </Proxy> |