Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2339

[3.3.x] Support Forum • apache block crawlers

$
0
0
when I add this code to my htaccess file the forum breaks (error 500). Did I make a typo or something?
Apache Version 2.4.62

Code:

SetEnvIfNoCase User-Agent "SemrushBot" bad_bot    SetEnvIfNoCase User-Agent "Amazonbot" bad_bot    SetEnvIfNoCase User-Agent "Alexabot" bad_bot    SetEnvIfNoCase User-Agent "SemrushBot" bad_bot    SetEnvIfNoCase User-Agent "MJ12bot" bad_bot    SetEnvIfNoCase User-Agent "AhrefsBot" bad_bot    SetEnvIfNoCase User-Agent "AhrefsSiteAudit" bad_bot    Disallow: /<IfModule mod_authz_core.c> <Limit GET POST>  <RequireAll>   Require all granted   Require not env bad_bot  </RequireAll> </Limit></IfModule>
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Statistics: Posted by timelessbeing — Mon Apr 28, 2025 11:08 pm



Viewing all articles
Browse latest Browse all 2339

Trending Articles