new vhost - main host AWstats

Posted by vn on Server Fault See other posts from Server Fault or by vn
Published on 2009-08-05T14:57:49Z Indexed on 2010/05/19 16:02 UTC
Read the original article Hit count: 344

Filed under:

Hi,

I just began working at this new job and I have to config a new host for stats with awstats. I once used awstats on my own server, no biggie.

Now, I'm on a multi-sites server with the acces_log files nicely splitted. I copied a awstats.conf file from one of the sites that already has (working) stats. I changed the LogFile and SiteDomain values as mentioned from http://awstats.sourceforge.net/docs/awstats_setup.html#BUILD_UPDATE, saved the conf and ran the commands

perl awstats.pl -config=mysite -update
and
perl awstats.pl -config=mysite -output -staticlinks > awstats.mysite.html

(yes I changed it with my infos...)

PROBLEM IS : whenever I try to access the html file or the dynamic page (with the config option on awstats.pl like my working site does), I get the stats of the MAIN site from access.log itself (and not access_log-mysite) from what it says at the top of the page and from the hostname on the left tab (stats for mysite.com)...

what did I do wrong? There's no errors from what I see...

Thanks a lot for any help

© Server Fault or respective owner

Related posts about awstats