openstreetmap-website/config/lighttpd-host-blocks.sh
2009-12-15 22:39:51 +00:00

9 lines
159 B
Bash

#!/bin/sh
if [ -d /etc/firewall ]
then
for ip in $(ls /etc/firewall)
do
echo "\$HTTP[\"remoteip\"] == \"$ip\" { url.access-deny = (\"\") }"
done
fi