Hello, how to tell apache not to log certain requests in log files ?
Could you please provide step by step instrucitions?
Things i've already tried:
1) added into .htaccess two lines:
AllowOverride FileInfo
SetEnvIf Request_URI ".*" dontlog
2) then there should be added something like this env=!dontlog at the end of CustomLog line in some .conf file in vhosts. I think I pretty added in every possible .conf file which have CustomLog line in /var/vhosts/system, even created two files vhost.conf and vhost_ssl.conf with these lines.. but at this point i am not sure i know what i am doing..
Then restarted httpd, and it still logs every request.
Would someone please walk me step by step with things i have to do? Thanks
Could you please provide step by step instrucitions?
Things i've already tried:
1) added into .htaccess two lines:
AllowOverride FileInfo
SetEnvIf Request_URI ".*" dontlog
2) then there should be added something like this env=!dontlog at the end of CustomLog line in some .conf file in vhosts. I think I pretty added in every possible .conf file which have CustomLog line in /var/vhosts/system, even created two files vhost.conf and vhost_ssl.conf with these lines.. but at this point i am not sure i know what i am doing..
Then restarted httpd, and it still logs every request.
Would someone please walk me step by step with things i have to do? Thanks