]> git.openstreetmap.org Git - rails.git/blob - config/lighttpd-host-blocks.sh
fixes http://trac.openstreetmap.org/ticket/3645 . Can now pass in show_other_users...
[rails.git] / config / lighttpd-host-blocks.sh
1 #!/bin/sh
2
3 if [ -d /etc/firewall ]
4 then
5   for ip in $(ls /etc/firewall)
6   do
7     echo "\$HTTP[\"remoteip\"] == \"$ip\" { url.access-deny = (\"\") }"
8   done
9 fi