How do I block a user-agent from Apache
- by rubo77
How do I realize a UA string block by regular expression in the config files of my Apache webserver?
For example: if I would like to block out all bots from Apache on my debian server, that have the regular expression /\b\w+[Bb]ot\b/ or /Spider/ in their user-agent.
Those bots should not be able to see any page on my server and they should not…