Hi,
I was configuring Configuration File Template when adding AWStats service recently and I noticed that [DOMAIN_ALIASES] variable does not include www.* alias by default. I think this is wrong, because www.* hostheader is created by the service (IIS6 in my case) but not included into aliases list.
My system is Windows Server 2003 SE SP2, DNP v2.8.2., AWStats v6.9
So to show correct stats the HostAliases should be as follows (with the current implementation):
HostAliases="www.[DOMAIN_NAME] [DOMAIN_ALIASES]"
Otherwise www.* will be dropped.
More globaly I'd say that any CNAME or A record from IIS Service template should be counted as [DOMAIN_ALIASES].
At the moment only Pointers are counted as [DOMAIN_ALIASES], so the stats are NOT accurate for those who haven't notice this.
Some other notes (please comment, critisize, suggest):
1. To fight Scheduled Task priority bug, that I reported in previous post you can set the Batch File Line Template: to
start /low /wait perl awstats.pl -config=[DOMAIN_NAME] -update
Type start /? in cmd, so you'll understand why this way.
2. Regarding Statistics Help URL: and autologon with AWStats.Viewer. This can be the serious security issue as you pass Username and Password as GET params. This auth details are the keys to your Control Panel as well.
The GET params stay in the browser history. So I won't start to explain that anyone can see your auth details on a shared PC. I'm sure this shoud be fixed and changed to POST. Webdevs will agree with me.
Thank you.