diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2014-12-20 16:32:37 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-12-21 09:47:03 +0100 |
commit | a1fa48df5fd9084e3f9eb325d2ed0a9a29ff7935 (patch) | |
tree | fa8ae6ed888fb961c58bbc6cd053775dac2bf087 /etc/apache2 | |
parent | afeadbcfbc1d6362783d34e5378b920990c0e4dd (diff) | |
download | jenkins.debian.net-a1fa48df5fd9084e3f9eb325d2ed0a9a29ff7935.tar.xz |
apache confs: redirect jenkins.d.n/userContent/reproducible.html to reproducible.d.n
Diffstat (limited to 'etc/apache2')
-rw-r--r-- | etc/apache2/sites-available/jenkins.debian.net | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index 43efdd0b..fe2fd6e7 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -97,6 +97,10 @@ NameVirtualHost *:443 RewriteCond %{QUERY_STRING} token RewriteRule ^ - [F] + RewriteCond %{HTTP_HOST} jenkins\.debian\.net + RewriteCond %{REQUEST_URI} ^/userContent/reproducible.html$ + RewriteRule ^/?(.*) https://reproducible.debian.net/$1 [R,L] + RewriteCond %{HTTP_HOST} reproducible\.debian\.net RewriteCond %{REQUEST_URI} ^/$ [or] RewriteCond %{REQUEST_URI} ^/userContent/$ |