summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-08 18:58:15 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-08 18:58:15 +0100
commite4d9afb4c42933235d036c37e48d2283b585acaf (patch)
treec54c8e9325b34ef60af45f235f1443f5d75bae95 /etc
parentf8d95ae246ec54c47271d7e6aafc18a5af12c1d3 (diff)
downloadjenkins.debian.net-e4d9afb4c42933235d036c37e48d2283b585acaf.tar.xz
use ProxyPass instead of RewriteRule so that curl and d-i can cope
Diffstat (limited to 'etc')
-rw-r--r--etc/apache2/sites-available/jenkins.debian.net5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net
index 781c6ed4..3ef8db12 100644
--- a/etc/apache2/sites-available/jenkins.debian.net
+++ b/etc/apache2/sites-available/jenkins.debian.net
@@ -30,9 +30,6 @@
RewriteCond %{QUERY_STRING} token
RewriteRule ^ - [F]
- # map /d-i-preseed-cfgs to /UserContent/d-i-preseed-cfgs
- RewriteRule ^/d-i-preseed-cfgs/.*$ /userContent/d-i-preseed-cfgs/$2 [R]
-
ProxyRequests Off
<Proxy *>
Order deny,allow
@@ -45,6 +42,8 @@
ProxyPass /visitors-report.html !
ProxyPass /calamaris !
ProxyPass /robots.txt http://localhost:8080/userContent/robots.txt
+ # map /d-i-preseed-cfgs to /UserContent/d-i-preseed-cfgs
+ ProxyPass /d-i-preseed-cfgs/ http://localhost:8080//userContent/d-i-preseed-cfgs/
ProxyPass / http://localhost:8080/