.htaccess Server Performance issues

Hi,

I am trying to allow only people from certain domains or ip addresses to have access to my website. I want it to prevent all other domains from accessing it.

I have done it using .htaccess however I am worried that the
size of my .htaccess file could slow down the server since it lists over 500 domains/ipaddresses to allow access from.

My question is this:
Does listing over 500 domains in an htaccess file slow down performance of the server (I am on a Webhost shared server) ?

If so, by how much and how can I improve performance?


Thanks in advance
Mike

 

 

 

 

Top