Forum Moderators: phranque
It's often simpler and more efficient to simply deny the request and be done with it:
RewriteEngine on
#
RewriteCond %{HTTP_USER_AGENT} libwww-perl [NC]
RewriteRule ^ - [F]
libwww-perl is simply a collection of HTTP-access routines written in PERL. It can be used to do anything that a browser or robot can do -- from checking your pages for updates, to making screenshots, to downloading your entire site. Whether this is good or bad depends on who is doing it and why, and on what you expect and allow on your site. So I cannot answer the that question with a simple yes or no.
I currently allow libwww-perl to access my site only from IP address ranges belonging to the search services of Yahoo (plus Yahoo properties AltaVista and Inktomi), Ask, IA Archiver, and Alexa. Because of the nature and location of your site, your needs may be very different.
Jim