Webalizer

invops

Verified User
Joined
May 31, 2006
Messages
9
I was trying to figure out how to hide referrers from the domain itself in Webalizer, and I messed up a couple times trying a few things before I came across this.

But for some reason, ever since I messed up those few times, the entire referrer section his failed to appear on one domain's webalizer stats.

I think it may have been due to when I was trying to manually type the domain rather than using the tokens. That may have nuked the stats for those reloads. But if that's the case, the bad rules I specified still are in effect, though the webalizer.conf makes no mention of that now...

Any suggestions?
 
Hello,

This should be enough in your ./data/templates/custom/webalizer.conf file:
Code:
IgnoreReferrer	*|DOMAIN|/*
Or if you only want to do it for one domain, you can use basic if-then-else syntax:
Code:
|*if DOMAIN="[b]yourdomain.com[/b]"|
IgnoreReferrer	*[b]yourdomain.com[/b]/*
|*endif|
http://www.directadmin.com/features.php?id=430

Note that it may only apply to stats that are computed after the change.. so previous stats computed before this change may still show up.

John
 
That's roughly what I have now. But it's ignoring all referrers regardless of their source, but only on one domain.

I'm at a loss...
 
I've the same problem about referrers, but I don't find webalizer.conf :(

under usr/local/directadmin/data/templates/custom/ there isn't webalizer.conf file :(
 
under usr/local/directadmin/data/templates/custom/ there isn't webalizer.conf

Its not going to be there unless you put it there. This would the custom template file that you customize. This template file is what will be used to build the real webalizer configuration file.
 
Take the one that is in /usr/local/directadmin/data/templates and put it in /usr/local/directadmin/data/templates/custom and then make the changes you want in it. Follow what DA Support said above. Then the next time you add a domain it will rewrite the entire main webalizer.conf file.
 
Interesting in that the README in the /usr/local/directadmin/data/templates directory references one.

Perhaps DA had it previously and then took it out of recent installations; I don't know.

Let's bring this thread to John's attention.

Jeff
 
Back
Top