[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] [RAQ3] Apache User-Agent blocking for all sites



> SetEnvIfNoCase User-Agent "^EmailSiphon" bad_bot SetEnvIfNoCase
> User-Agent "^EmailWolf" bad_bot
> 
> <Directory "/home/sites/*/">
>         Order Allow,Deny
>         Allow from all
>         Deny from env=bad_bot
> </Directory>
> 
> 

Looks right according to
http://test.evolt.org/article/Using_Apache_to_stop_bad_robots/18/15126/?
format=print
Although I don't know if you need /*/ I think just /home/sites/ would
cover every directory you're concerned about below that.

You might want to see http://www.neilgunton.com/spambot_trap/ as well
especially http://www.neilgunton.com/spambot_trap/bad_agents.txt

-- 
C2002 Dan Kriwitsky

Please reply to the list only. Off list replies are not read.