summaryrefslogtreecommitdiffstats
path: root/etc/apache2
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2014-12-17 15:46:12 +0100
committerHolger Levsen <holger@layer-acht.org>2014-12-17 17:25:43 +0100
commit134caeabec48b9512d29736e9a64d5bea6c6109d (patch)
treed0663eaf84515c4fa31602c47b02d0bea284966e /etc/apache2
parent6b563ccd8f2d108cd91c99c565c3a92cbd4f2e07 (diff)
downloadjenkins.debian.net-134caeabec48b9512d29736e9a64d5bea6c6109d.tar.xz
tweak the apache rewrite to redirect reproducible.debian.net to /userContent/reproducible.html
Diffstat (limited to 'etc/apache2')
-rw-r--r--etc/apache2/sites-available/jenkins.debian.net5
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