22i design - web design Farnborough

Sunday, September 07, 2008



This page uses Valid CSS
Valid HTML 4.01!
For what it's worth, 22i design is a member of the UKWDA
Get FireFox - The Browser ReLoaded



22i DESiGN » Design Blog » Design Blog

Friday, August 03, 2007

Apache deny IP

Somebody stealing your content? Scraping your site and palming off your hard work as theirs?

Use Apache to ban their IP address using your .htaccess file...
order allow,deny
allow from all
deny from 555.555.555.555
Obviously you need to replace 555.555.555.555 with the full IP address ;)

You *can* deny access by domain but you'll be making Apache work harder by having to perform a DNS lookup before knowing which IP address/IP block to deny, so go for the full IP address every time.

Labels: , ,