Banning IP Addresses

Is someone getting on your nerves? Making fun of you? Breaking the rules? Then ban them! Just insert this code into your .htaccess file and change the underlined 0's to the IP address you need to ban! When you ban someone, it automatically takes them to the 403 ErrorDocument. You can learn how to code your own 403 or 404 error document here.

<Limit GET>
order deny,allow
deny from 00.00.00.000
deny from 00.00.00.000
deny from 00.00.00.000
deny from 00.00.00.000
deny from 00.00.00.000
</Limit>

If you don't need that many IP addresses, just remove some deny from lines. If you need more, add more!

© Stainedink.com 2007 - 2008