|
.htaccess question - block by IP - does this look right?
Hey Apache gurus, need your help.
Lately I've been getting a lot of 404 errors caused by agent "Lachesis". Most of the 404s are occuring for style sheets that I know exist and are where they belong.
Google returned very little about Lachesis other than it refers to a venomous snake and a Fate in Greek mythology. It may be a harmless bot, or it may be a vicious bandwidth thief - couldn't really tell.
Anyway, I disallowed it in robots.txt, but it's still coming around (bad bot, BAD!), and since all the requests seem to be coming from the same remote IP, I decided to ban the IP with .htaccess. I've never done this before and want to know if this looks right (I cut and pasted it from a mainstream webmaster forum).
(Limit GET PUT POST)
Order allow,deny
Allow from all
deny from xxx.xx.xxx.xx
(/limit)
(Replace the parentheses above with "<" and ">", and of course the x's with numbers.)
Am I on track here?
Thanks!
__________________
Looking for PHP/MySQL solutions? Check out Cyboriginal - custom scripts, installation services and more.
|