webalizer

viki

Verified User
Joined
Mar 25, 2006
Messages
23
Location
Poland
1.
Can someone tell me where is config file for webalizer ?

(is it true that by default there isn't any, and I should put my modificatoin to /usr/local/directadmin/data/templates/custom/webalizer.conf)


2.
How can I make webalizer stats to run often then 1 a day ?

when I start 'webalizer' by hand from command line as root, I got:

[root@kicia1 data]# webalizer
Webalizer V2.01-10 (Linux 2.6.16.5) English
Using logfile STDIN (clf)
Creating output in current directory
Hostname for reports is 'kicia1.xxx.net'
History file not found...


and I can wait hours, but nothing is changed.


Any way stats for all domains are working normal, but only one a day.


Mayby I should put sth to: /usr/local/directadmin/data/task.queue ?
But what ?
 
By default "webalizer.conf" is not installed with DA. If you want a customized webalizer, create the file yourself on your server in the directory you listed above.
Code:
/usr/local/directadmin/data/templates/custom/webalizer.conf
You can use these request in the .conf file:
Code:
GMTTime		yes
VisitTimeout	1800
DNSCache	/var/www/usage/dns_cache.db
DNSChildren	10

PageType	htm*
PageType	cgi
PageType	txt
PageType	*html
PageType	php*
PageType	asp*
PageType	pl

HideURL		*.gif
HideURL		*.GIF
HideURL		*.jpg
HideURL		*.JPG
HideURL		*.png
HideURL		*.PNG
HideURL		*.ra

TopAgents	30
AllAgents	yes
TopCountries	30
TopReferrers	30
AllReferrers	yes
TopSites	30
TopKSites	20
AllSites	yes
TopURLs		30
TopKURLs	20
AllURLs		yes
TopEntry	30
TopExit		30
TopSearch	20
AllSearchStr	yes
TopUsers	0
AllUsers	no

IgnoreSite	*|DOMAIN|
IgnoreSite	localhost*
IgnoreReferrer	*|DOMAIN|/*
HideReferrer	Direct Request
Change and or comment out items that you need or do not need.

To update webalizer from the command line, enter:
Code:
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue

I am not sure how to make webalizer run more than once a day. I have never had need for it to do so.
 
Back
Top