Forum Moderators: phranque
I am blocking bots that are posing as humans. I have my long list but decided to give a specific 403 error page (other then the default that I use for everyone including spammers). This means potentially inocent bot runners will understand if they visit my site if they watch their records for high levels of 403s. (100% sure I want to do this (are you really sure?) yes, again I am IoI I know someone is going to say that but thanks for the concern anyway).
So this script is only intended to 403 the listed at the bottom but allow everyone else, is it correctly written?
# bots spoofing as humans
<Files /error/error-403-bot-spoof.php>
order allow,deny
allow from all
</Files>
deny from ***.***.***.*
deny from ***.***.***.*
deny from ***.***.***.*