Hi, I used my hosting utility to block countries from accessing my website but it doesn't seems to work and my tech support is not much help. When I use the utility it creates a .htaccess file with the below content. can someone please help? thx.
GeoIPEnable on
RewriteEngine on
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AD$ [OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AF$ [OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AG$ [OR]
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^BB$ [OR]
RewriteRule ^.*$ - [F]