How to block - Libwww-perl Access in .htaccess?

May 25, 2015 1.6k views
Apache WordPress Ubuntu

Hi there,

I'm not sure how to block -Libwww-perl using .htaccess. When I add this code after "RewriteEngine on" line:

RewriteCond %{HTTPUSERAGENT} libwww-perl.*
RewriteRule .* – [F,L]

I get a 500 internal error (even though I restart Apache2)

Thank you!

1 Answer

Check your error log to find out why.

  • Thanks. Where can I find the error log though? Never hard to look into it before that issue

Have another answer? Share your knowledge.