Tag Archives: useragent

Block UserAgent libwww-perl and test

If you want to apply this globally, edit /etc/httpd/conf/httpd.conf (Centos). Otherwise, just modify the related vhost config file, adding the following:

How to test:

Check if the site responds:

 

Check if the agent libwww-perl is allowed or forbidden:

 

Check if using Mozilla as agent works or not: