Block access by countries
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
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?

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]
0
Kudos
0 REPLIES 0
