Red Hat Bugzilla – Bug 187344
webalizer doesn't handle group visits properly
Last modified: 2008-05-01 11:38:06 EDT
Description of problem:
Webalizer doesn't handle group visits properly. It says for example that a
certain domain has 0.01 % of the total visits. In reality it might have over 50
% of the total visits!
Group visits should be summarized, not calculated as if the group would be one
Version-Release number of selected component (if applicable):
All versions up to: webalizer-2.01_10-29.2.1
Well, always of course. :)
Steps to Reproduce:
1. Configure webalizer.
2. Run webalizer.
3. Look at the statistics. Section "Sites". And there "Visits".
Visit numbers for groups are presented as if the group would be one client and
not a group of clients. Just look at the percent numbers and think about what
they say to you. That is not correct like that.
Summarized visit counts for the group.
I'm giving you the fix for this issue. Patch attached. Already tested on FC5
where webalizer is working normally after this patch was added to the spec.
(Exactly same run time as without this patch. No effect on performance.)
Created attachment 127046 [details]
Group visit patch which shows group visits properly
Thanks a lot for the patches, Jarkko (and sorry for the delay!) - I've committed
all of these; should hit Raw Hide once the test1 freeze is over.