I'm trying to use AWStats on my SME server to report web stats for sites hosted on my Lotus Domino Server. For the purpose of this example, say I want AWStats for a website
www.mysite.com that is hosted on my domino server.
I'm able to set up a cron job to copy the Domino log files from the remote server to the SME server each night so they will be local to the SME Server.
I have creating an Ibay called mysite and created a local domain of mysite.com that directs to this Ibay. I did this to register the domain in the AWStats panel in server manager, but not sure if this step is needed.
This created the following two awstats config files:
/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.mysite.com.conf
/home/e-smith/files/users/admin/home/awstats/mysite.com
I then changed the LogFile entry to point to the location of the Domino logfiles:
LogFile=" /home/e-smith/files/ibays/mysite/files/logs"
I also tried the following, which I found in a Domino HowTo. Not sure if it's correct:
LogFile="perl ./logresolvemerge.pl d:/domino/weblogs/access*.log |"
However, when I go back to the AWStats ServerManager panel and make any changes, these files are overwritten. OK that's to be expected, but I can't find where the templates are for these. I don't want to change the LogFile= line for all AWStats conf files as some sites are hosted on the SME server and I want AWStats to work for them too.
So, should I remove the mysite IBAY and configure AWStats manually? If so, where do I place the conf file and ensure AWStats finds it?
Or should I continue to use the IBAY approach and, if so, how do I prevent the LogFile= line being overwritten.
Any help much appreciated.