View Full Version : htaccess ip limitations

14 Jan 2011, 01:19 PM
Is there a limit on how many IP denies I can put in an .htaccess file? If there is no limit, would there be any noticeable difference in page loading times if there were 200-300 IPs being blocked?


01 Feb 2011, 09:22 PM
There should be no limit. However, Apache, rereads the .htaccess file each time the directory is accessed, which may impact your website's performance. If your host allows, I'd recommend placing the IP ban list into the server configuration so that Apache doesn't have to reload and reprocess the list for every request.