apache-ultimate-bad-bot-blocker icon indicating copy to clipboard operation
apache-ultimate-bad-bot-blocker copied to clipboard

[ADD/REMOVE]

Open ZerooCool opened this issue 5 years ago • 2 comments

In this file : https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/blob/master/Apache_2.4/custom.d/globalblacklist.conf

Can this line : BrowserMatchNoCase "(?:\b)AhrefsBot(?:\b)" bad_bot

Block this : AhrefsBot/6.1

54.36.148.99 - - [03/May/2020:17:52:21 +0200] "GET the-url HTTP/1.1" 200 13162 "-" "Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/)"

ZerooCool avatar May 03 '20 16:05 ZerooCool

It should block all variants

mitchellkrogza avatar May 04 '20 13:05 mitchellkrogza

It's strange, I have the impression that not: / I was able to block only by adding my variant.

I also blocked AspiegelBot and in this case, I have the impression that the robot continues to be able to read pages (HTTP code 200) but nevertheless, if I use cURL to test to consult a page as AspiegelBot, I'm stuck.

It's really strange. I don't have to understand certain things well. is beyond me.

If you want test, navigate with AhrefsBot or AspiegelBot to my website : https://www.visionduweb.fr

Vision du web - La Réponse Collaborative
Objectifs de la plateforme Visionduweb L'objectif de Visionduweb est la mise en valeur d'outils informatiques gratuits, libres, opensource. Consulter le co...

ZerooCool avatar May 05 '20 16:05 ZerooCool