Re: Blocking non-US IPs?
There is a caveat when you use the Apache's directives in a .htaccess file to allow only the US IP address. The directives run to a few thousand lines. Your HTTP server has to process this for every visitor and that can slow down your server. The best place to block unwanted elements is at the firewall.
For dynamic sites, extra load involved in processing long .htaccess files can sometimes result in transient overload.
|