Forum Moderators: phranque

Message Too Old, No Replies

Disabling some files in apache log

How to exclude from .htaccess?

         

craig1972

5:08 am on Jul 11, 2005 (gmt 0)

10+ Year Member



Hi,

I want to exclude some files from being logged, because these are only maintenance and reporting files themselves. Also, I would like to exclude my own IP address from being logged, as that's no use.

Can someone tell me how I can do this without having access to my httpd.conf file? I would like to specify these rules somehow in .htaccess file.

Thanks!

marcs

6:15 am on Jul 11, 2005 (gmt 0)

10+ Year Member



As many hosts use apache log files to calculate traffic usage, it would not be a good idea to allow this from a .htaccess file.

Configure/modify your stats package to ignore your IP and those certain files. If memory serves, awstats allows for this.