summaryrefslogtreecommitdiffstats
path: root/etc/apache2/sites-available
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-08 16:50:11 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-08 16:50:11 +0100
commit4d04a25b6c3054499f7fcbe774f0af39feb30654 (patch)
tree55c6e4d432e8149b89c4815ba75fdf42207e6b0a /etc/apache2/sites-available
parent5effc4fbf8cce09c73255f0524ace9ec6650e031 (diff)
downloadjenkins.debian.net-4d04a25b6c3054499f7fcbe774f0af39feb30654.tar.xz
REMOTE_HOST seems to be tricky, so 'properly' work around it...
Diffstat (limited to 'etc/apache2/sites-available')
-rw-r--r--etc/apache2/sites-available/jenkins.debian.net2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/jenkins.debian.net b/etc/apache2/sites-available/jenkins.debian.net
index ddd739ee..0a6f3d09 100644
--- a/etc/apache2/sites-available/jenkins.debian.net
+++ b/etc/apache2/sites-available/jenkins.debian.net
@@ -24,7 +24,9 @@
# allow certain params only from alioth (token is used to trigger builds)
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !217\.196\.43\.140
+ # git.d.o is really vasks.d.o, so just allowing this trigger from any debian host should be fine. Anyone can run curl on alioth anyway
#RewriteCond %{REMOTE_HOST} !.*.debian.org
+ # FIXME: REMOTE_HOST surely must work somehow? Also see etc/cron.daily/jenkins
RewriteCond %{QUERY_STRING} token
RewriteRule ^ - [F]