]> git.openstreetmap.org Git - rails.git/blob - config/lighttpd-host-blocks.sh
Frontpage redesign
[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