Do you have any idea what the .htaccess file actually says? Is it limiting connection to a specific subnet or block range or is it allowing only connections from a specific list of IP addresses? Is it attempting to use IPv6 address limitation using wildcard fields? There are different approaches depending on what exactly is going on.