Or what if you use htaccess + geoip?
I guess because the geoip is run by the proxy hosting, the hosting should update it regularly.
No need to update the geoip database by ourselves.
Code:RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AF$ [NC,OR] RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^AO$ [NC,OR] RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN$ [NC,OR] RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^KE$ [NC,OR] RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^IQ$ [NC,OR] RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^IR$ [NC] RewriteRule ^(.*)$ http://www.google.com [NC,R,L]


LinkBack URL
About LinkBacks

Reply With Quote



Bookmarks