Customizing Webalizer Statistics / Results

1024kb

Verified User
Joined
Jun 25, 2014
Messages
44
I'm interested in customizing some of the statistics that webalizer reports. For example, I'd like to hide all graphic / style / script resources (e.g. PNG, JS, CSS).

I created the file /usr/local/directadmin/data/templates/custom/webalizer.conf per the DA documentation at the below link:
http://help.directadmin.com/item.php?id=27

I also used this page for a starter template:
http://www.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap29sec265.html

So right now in my webalizer.conf file, I have the following:

Code:
LogFile /var/log/httpd/domains/domain.com.log
Incremental  yes
HideURL *.gif
HideURL *.GIF
HideURL *.jpg
HideURL *.JPG
HideURL *.png
HideURL *.PNG
HideURL *.ra
HideURL *.js
HideURL *.css
HideURL *.ico
IgnoreURL /admin/*
IgnoreURL /adminPM/*
IgnoreURL /cgi-bin/db/*
IgnoreURL /cgi bin/Coz/*
IgnoreURL /pics/*
Have I done this correctly? Do I need to restart the DA service? Will this fix reports already generated or only future ones?
 
Top