Quote:
Originally Posted by fmgrowit
I'm not trying to discriminate, but is there any way to block IP's from entire countries? My site doesn't have anything the Chinese would be interested in anyway.
Is there a list of which IP's are assigned to a certain country or region?
|
http://www.ipaddresslocation.org/ip_...get_ranges.php
Scroll to the bottom, choose the country you wish to block and choose Deny for prefix. Download the zip and extract the txt file. Copy paste the contents into your .htaccess file on your sever.