summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-08 18:45:56 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-08 18:45:56 +0100
commit17214b86376455207c8ebad8365cf7c5c95f261a (patch)
tree71a712df29f756ecde1d41d715d692a3d6059503 /etc
parent45df870c3ebc998408163a6a1bcc4ec8f15dbbdc (diff)
downloadjenkins.debian.net-17214b86376455207c8ebad8365cf7c5c95f261a.tar.xz
hide jenkins specefic /userContent/ path
Diffstat (limited to 'etc')
-rw-r--r--etc/apache2/sites-available/jenkins.debian.net3
1 files changed, 3 insertions, 0 deletions
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
<Proxy *>
Order deny,allow