Quick Apache Configuration to block libwww-perl


From Docunext Technology Wiki

Jump to: navigation, search

I was again finally fed up with requests from libwww-perl so I added this to my main apache configuration:

SetEnvIfNoCase User-Agent "^Wget" bad_bot
SetEnvIfNoCase User-Agent "^EmailSiphon" bad_bot
SetEnvIfNoCase User-Agent "^EmailWolf" bad_bot
SetEnvIfNoCase User-Agent "^libwww-perl" bad_bot

<Location />
    Order allow,deny
    Allow from all
    Deny from env=bad_bot
</Location>
Personal tools