From e4d9afb4c42933235d036c37e48d2283b585acaf Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 8 Dec 2012 18:58:15 +0100 Subject: use ProxyPass instead of RewriteRule so that curl and d-i can cope --- etc/apache2/sites-available/jenkins.debian.net | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'etc') 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 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/ -- cgit v1.2.3-70-g09d2