This is for a shared hosting account but I imagine the same thing goes into the .htaccess file. I may cool off and only block one IP but right now I want to block a whole damn country. If I know the country rage is 59.88.0.0 to 59.95.255.255. How do I block all of those IPs using .htaccess? If on further inspection of the logs I determine my problems came from a range of those IPs would the syntax be the same? And is there anyway to customize the message the ip#s get? I'm thinking something along the lines of F***-u at the moment but a calmer mind will prevail. TIa and rep is promised.
If I want to block a country I normally go to http://www.blockacountry.com, select the country and generate the .htaccess file