Things I would like to do before death
Today I visited Apache's access log file to track one of the user's whereabouts. I was surprised at how much garbage and useless (to me) information log contained. Basically I did not want style sheet, javascript or images to be logged. One great way to do this is to set environment variable for filetypes that will not be logged and tell apache to log everything except previously set environment variable.
For example:
SetEnvIf Request_URI \.gif$ dontlog
SetEnvIf Request_URI \.jpg$ dontlog
SetEnvIf Request_URI \.jpeg$ dontlog
SetEnvIf Request_URI \.css$ dontlog
SetEnvIf Request_URI \.js$ dontlog
CustomLog logs/access_log common env=!dontlog
For more information visit: Apache.org pages.
Admir
đesi buraz
.............................................................