Web Hosting Talk







View Full Version : webalizer question


diyoha
05-21-2002, 09:19 AM
Hello,

I have webalizer installed on my raq4i

The config problem I have is in the statistics for the different domains I am hosting. The referral area shows the domain as its own referrer, which is useless information.

What would I do in the config area to make it avoid the each site I am hosting show up as its own referrer?

From the documentation I think the area that matters is

--- snip from webalizer config file ---
# Your own site should be hidden
#HideSite *mrunix.net
#HideSite localhost
--- end snip --

My question is how to make it generic so it works for each virtual host without me having to make a new entry everytime I get a new client.

Any pointers will be appreciated

thanks

David

cbtrussell
05-21-2002, 12:09 PM
I asked this same question long ago, and given the default setup you cannot do what you want.

However!

The pkg from pkgmaster is setup so you can install a local webalizer.conf in each virt site to take care of this issue.

You would want to use

hidereferrer somedomain.com

HTH,

Brandon

diyoha
05-21-2002, 12:18 PM
Hello Brandon,

is any of this automated ie if i create a new site via my rack does the new config file get created automatically or is this something I will have to do each time I create a new account?

thanks

David

blacknight
05-21-2002, 01:17 PM
Does anybody have an example of the configuration files/structures to allow this. I've been trying to get this problem sorted out for a long time, but wasn't able to and now can't really overwrite the version of Webalizer installed, as I might lose data...

diyoha
05-21-2002, 01:39 PM
hidereferrer somedomain.com


It seems so logical that the webalizer stats should allow a variable, for example
$virtualdomain

to be placed used instead of a specific domain name. Since it is being used on many many virtual sites. And there is absolutely no need to collected referrals from ones own site.

Hopefully this exists and no one has answered the questions yet :D

David