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
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