Libwww-perl is a user agent that is commonly used by hackers to attack on your site. Libwww-perl are botnet scripts that look for vulnerabilities in your software. We should block them to eliminate attacks on your site which improves your site security.
It is very simple to block user agent libwww-perl
Copy below two lines and add it to end of your .htaccess file
- RewriteCond %{HTTP_USER_AGENT} libwww–perl.*
- RewriteRule .* ? [F,L]
That’s it. Your site is protected from user agent Libwww-perl.