Not Logging Access to a Directory

I installed bwbar on our server last night (and wrote a spiffy PHP script to parse it and do actual graphs of usage), after some other stuff we had started chewing through a ton of bandwidth, so we could watch it.

The problem is that it refreshes every second, and I kept it open for a long time, as I intend to do fairly often. As a result, we got about 10x our usual volume in "hits" yesterday, solely because I ended up with a few thousand "hits" myself. (It's a small site. Not Logging Access to a Directory)

Anyway, I want to exclude the /bwbar directory from Apache's log files. My first thought was to construct some massively complex named pipe as a file, so Apache would write to something that would filter out anything with "bwbar" in it, and redirect everything else to a log file.

But then I realized... In addition to a VirtualHost, isn't there some directive to have a 'special' directory? ie, /bwbar would be 'special' and not have a log directory? I can't, however, remember what this is called; I don't think it's the same as VirtualHosts. I just remember that my old box had a /docs that actually pointed somewhere in /usr/doc. (And is that the easiest way to suppress logging for a particular directory? It is possible to somehow do this via .htaccess instead?)

 

 

 

 

Top