Re: [users@httpd] using htaccess on all hosts to block addresses

2011-12-12 Thread Steve Swift
Presumably, it not whether you use htaccess, but whether you have it enabled. Once it is enables, apache has to follow the directory tree, just in case an htaccess file has turned up. I wonder if apache takes advantage of hosts which notify it when new/changed files appear in a directory tree that

Re: [users@httpd] using htaccess on all hosts to block addresses

2011-12-12 Thread Tom Evans
On Mon, Dec 12, 2011 at 5:42 PM, Steve Swift wrote: > I think you'll have to put it in the documentroot of all of your > virtualhosts. Since it would be so much easier to do this in the Apache > config, I'll assume that you cannot do this for some reason. > > Second best would be to create the fil

Re: [users@httpd] using htaccess on all hosts to block addresses

2011-12-12 Thread Steve Swift
I think you'll have to put it in the documentroot of all of your virtualhosts. Since it would be so much easier to do this in the Apache config, I'll assume that you cannot do this for some reason. Second best would be to create the file in one documentroot, then use hard links to place it in all

[users@httpd] using htaccess on all hosts to block addresses

2011-12-12 Thread David Mehler
Hello, I've got a list of host IP's i'd like to block. I want to do this with an .htaccess file and want it to effect all virtual hosts on my server. I've got the .htaccess file and am wondering where to place it. Can I put it in the ServerRoot area which is /srv/http I believe on my arch box or d