Welcome to WebmasterWorld Guest from 220.127.116.11
I read a lot in this forum about banning IP's and UA's but now I am a bit confused about what the best way is.
I got a brand new virtual privat server and would like to protect it from the start. There will be a lot of client web sites with databases running on that server, so I thought putting the ban in the httpd.conf would be a good idea. But if I need to alter the ban list I need to restart the Apache to get it work. Not good. If I put the ban list in .htaccess it will be easier to maintain. But I read this works slower.
And to be honest, I have no idea where to put the ban list in the httpd.conf and what the right syntax would be.
If you could please help me to decide which way would be best and where I can find help on .htacess and httpd.conf syntax that would be great.
Hope that makes sense to you.
joined:Jan 30, 2002
Did you read this one [webmasterworld.com]? Good read if you haven't.
>>putting the ban in the httpd.conf would be a good idea
I've heard the same thing, it's faster.
>>restart the Apache to get it work
How often are you going to have to change it though? More than Apache would have to read the .htaccess file? ;)
>>right syntax would be
wish I could help there, I think it's the way to go, I'm sure someone will come along and know. My 0.02 is to go with the speedy option. AFAIK most people use .htaccess only because they are on a shared server, im not sure though.
you might want to check out the site search at the top of the page in the meantime.