How to restrict libwww-perl and server security

 

RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* ? [F,L]

 

server security on off

Open Apache?s configuration file (httpd.conf or apache.conf) and search for ServerSignature. If you find it, edit it to:

ServerSignature Off
ServerTokens Prod

 

 

Advertisements