0

i blocked some bots in my htaccess file

SetEnvIfNoCase User-Agent "sitechecker.pro" bad_bot
SetEnvIfNoCase User-Agent "seostar" bad_bot
SetEnvIfNoCase User-Agent "SiteCheckerBotCrawler" bad_bot
SetEnvIfNoCase User-Agent "scan.lol" bad_bot

<Limit GET POST HEAD DELETE>
  Order Allow,Deny
  Allow from all 

  Deny from env=bad_bot
</Limit>

but when their ip is IPv6 : exemple : 2a00:8a60:1014:88::15

they can access my website even if they are blocked please any ideas how to fix this.

Joukhar
  • 724
  • 1
  • 3
  • 18
  • 1
    Do you have any other directives in the `.htaccess` file? It's unlikely that `SetEnvIfNoCase` "doesn't work" per se, it's more likely that the server is (erroneously) configured differently when accessed using IPv6, such that `AllowOverride` is restricted or not enabled at all? – MrWhite Jul 19 '23 at 00:06
  • i have no clue about all this – Joukhar Jul 19 '23 at 13:35

0 Answers0