From 17214b86376455207c8ebad8365cf7c5c95f261a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 8 Dec 2012 18:45:56 +0100 Subject: hide jenkins specefic /userContent/ path --- etc/apache2/sites-available/jenkins.debian.net | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc') diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net index 0a6f3d09..fe3a0192 100644 --- a/etc/apache2/sites-available/jenkins.debian.net +++ b/etc/apache2/sites-available/jenkins.debian.net @@ -30,6 +30,9 @@ RewriteCond %{QUERY_STRING} token RewriteRule ^ - [F] + # map /d-i-preseed-cfgs to /UserContent/d-i-preseed-cfgs + RewriteRule ^/etc/apache2/sites-available/jenkins.debian.net/.*$ /userContent/d-i-preseed-cfgs/$2 [R] + ProxyRequests Off Order deny,allow -- cgit v1.2.3-70-g09d2