View Single Post
Old 06-04-2011, 12:32 AM  
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
Just add these to the root .htaccess file

http://www.ipdeny.com/ipblocks/data/countries/my.zone

Code:
<Files 403.shtml>
order allow,deny
allow from all
</Files>

#then all the malaysia ips on the above URL
This not stopping the traffic to the server but the IPs will get a 403 - Forbidden 57 bytes?

Blocking entire countries is best done with mod_geoip for Apache2 (Debian) Google for mod_geoip
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote