If you wanted to deny someone, you'd normally use hosts.deny. But not all services use tcpwrappers (hosts allow/deny) and specifically Apache does not. Probably the best way is to just use iptables:
As root do:
iptables -I INPUT -p tcp --dport 80 -s xxx.xxx.xxx.xxx -j DROP
You might have to adjust the destination port (--dport) if you're using a non-standard http port and substitute in the offending IP.
If you want to keep them from accessing anything at all just do:
iptables -I INPUT -s xxx.xxx.xxx.xxx -j DROP
Last edited by Capt_Caveman; 02-22-2004 at 12:38 AM.