I've tried to add the following line to my .htaccess file, but without success. Anyone who can help?
Code: Select all
BrowserMatchNoCase "claudebot" bad_bot
Code: Select all
BrowserMatchNoCase "claudebot" bad_bot
.htaccess
do with bad_bot
?Code: Select all
# 28-Mar-24, P_I, another one to banish
BrowserMatchNoCase "claudebot" bad_bot
Order Deny,Allow
Deny from env=bad_bot
Its a HTACCESS script by Jeff Star
The 8G Firewall is a carefully crafted set of security rules for Apache and Nginx servers. It can be applied via your site’s public root .htaccess file, or added via server configuration. Once added, 8G provides powerful server-level protection against a wide range of malicious requests, bad bots, automated attacks, spam, and many other types of threats and nonsense. It’s a lightweight (only 17KB) strong firewall that improves site security and peace of mind.
Our posts crossed. I was asking the OP.
Code: Select all
BrowserMatchNoCase "libwww-perl" bad_bot
BrowserMatchNoCase "wget" bad_bot
BrowserMatchNoCase "LieBaoFast" bad_bot
BrowserMatchNoCase "Mb2345Browser" bad_bot
BrowserMatchNoCase "zh-CN" bad_bot
BrowserMatchNoCase "MicroMessenger" bad_bot
BrowserMatchNoCase "zh_CN" bad_bot
BrowserMatchNoCase "Kinza" bad_bot
BrowserMatchNoCase "Bytespider" bad_bot
BrowserMatchNoCase "Baiduspider" bad_bot
BrowserMatchNoCase "Sogou" bad_bot
BrowserMatchNoCase "Datanyze" bad_bot
BrowserMatchNoCase "AspiegelBot" bad_bot
BrowserMatchNoCase "adscanner" bad_bot
BrowserMatchNoCase "serpstatbot" bad_bot
BrowserMatchNoCase "spaziodat" bad_bot
BrowserMatchNoCase "undefined" bad_bot
BrowserMatchNoCase "claudebot" bad_bot
Order Deny,Allow
Deny from env=bad_bot
Thx!P_I wrote: Thu Mar 28, 2024 6:00 pm Here's the tail end of mine that denies anything defined as bad_botCode: Select all
# 28-Mar-24, P_I, another one to banish BrowserMatchNoCase "claudebot" bad_bot Order Deny,Allow Deny from env=bad_bot
That looks correct. Are you still seeing claudebot instances active on your board?
Code: Select all
##spammers
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} AhrefsBot/6.1|Ahrefs|Baiduspider|BLEXBot|SemrushBot|claudebot|YandexBot/3.0|Bytespider|YandexBot|Mb2345Browser|LieBaoFast|zh-CN|MicroMessenger|zh_CN|Kinza|Datanyze|serpstatbot|spaziodati|OPPO\sA33|AspiegelBot|PetalBot [NC]
RewriteRule ^ - [F,L]
claudebot
to the file and phpBB went from over 100 bots to zero.Glad for youcabot wrote: Thu Mar 28, 2024 7:28 pmThx!P_I wrote: Thu Mar 28, 2024 6:00 pm Here's the tail end of mine that denies anything defined as bad_botCode: Select all
# 28-Mar-24, P_I, another one to banish BrowserMatchNoCase "claudebot" bad_bot Order Deny,Allow Deny from env=bad_bot
I had the same problem today, and this solved it.
This works perfectly. After restarting Apache of course.P_I wrote: Thu Mar 28, 2024 6:00 pm This definitely seems like a new one and I'm seeing many instances on my boards.
What does your.htaccess
do withbad_bot
?
Here's the tail end of mine that denies anything defined as bad_botCode: Select all
# 28-Mar-24, P_I, another one to banish BrowserMatchNoCase "claudebot" bad_bot Order Deny,Allow Deny from env=bad_bot