]> git.openstreetmap.org Git - rails.git/blob - config/lighttpd-host-blocks.sh
M-x untabify Kai Krueger's ebcc988376b0dad8a0969803d52b1073420c77b7
[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