View Single Post
  #16 (permalink)  
Old 03-11-2009, 03:49 AM
NetProwler's Avatar
NetProwler NetProwler is offline
WebProWorld Member
 
Join Date: Jan 2007
Posts: 90
NetProwler RepRank 2
Default 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.
Reply With Quote