I have around 70 domains on a server and I would like to ban certain ip addresses from download / browsing all these websites.
Initially, I used to do this with .htaccess, but adding new rules (ips) everytime to all 70 websites via .htaccess is pretty time consuming.
I am the system admin and have access to httpd.conf. Would it be wise to use these rules in httpd.conf?
Using something like below in httpd.conf:
allow from all
deny from 126.96.36.199
deny from 188.8.131.52
Would this cause extra load on the server than what was actually using .htaccess for each domains?
Thanks and please provide me with your inputs.
[added: In case I have placed the above code in both httpd.conf and .htaccess, will the server read through both of them which might cause an extra load. So in case I use httpd.conf, should I remove the .htaccess files?]
[edited by: Imaster at 3:35 pm (utc) on June 27, 2007]