I want to ban bad agents. I have tried many way including this one!
But it doesn't work. If I create a perl file: check this!
I think this is because of Order deny,allow
syntax as it is for apache2.2!
I want to create a file badagents.conf
where I will put all the bad agents (like done in link 1) and then create a common banbadagents.conf
that I just include in my vhost because I have like 9 vhosts. And changing something in all of them is really problematic.
How to globally ban the agents listed in badagents.conf
?