diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2014-12-17 15:46:12 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-12-17 17:25:43 +0100 |
commit | 134caeabec48b9512d29736e9a64d5bea6c6109d (patch) | |
tree | d0663eaf84515c4fa31602c47b02d0bea284966e | |
parent | 6b563ccd8f2d108cd91c99c565c3a92cbd4f2e07 (diff) | |
download | jenkins.debian.net-134caeabec48b9512d29736e9a64d5bea6c6109d.tar.xz |
tweak the apache rewrite to redirect reproducible.debian.net to /userContent/reproducible.html
-rw-r--r-- | etc/apache2/sites-available/jenkins.debian.net | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index 27498dbc..1852553a 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -97,6 +97,11 @@ NameVirtualHost *:443 RewriteCond %{QUERY_STRING} token RewriteRule ^ - [F] + RewriteCond %{HTTP_HOST} reproducible\.debian\.net + RewriteCond %{REQUEST_URI} ^/$ [or] + RewriteCond %{REQUEST_URI} ^/userContent/$ + RewriteRule ^/(.*) https://%{HTTP_HOST}/userContent/reproducible.html [R] + ProxyRequests Off <Proxy *> Order deny,allow |