I'm trying to setup the AWStats to read web log files, download from web server, on a local work-grouped machine. Can someone tell me how to modify the configuration file?
Yeah, I was going through the site but still couldn't find what I was looking for. Most of the documents were assuming that you are running AWStats on a Web Server, which is not in my case.
The model config file itself is indeed very informative, but there is only this one argument, SiteDomain, that has been giving me headache. Whenever I'm trying to run AWStats, I'm prompted by a error regarding the SiteDomain. Since I was running a downloaded log on a workstation, what argument should I give the "SiteDomain"?
...but to the program you still are. You still need the domain name and everything else. Have you tried setting it up and seeing if it worked? Post any errors you get after it is setup.
awstats.pl -update -config=model
Error: SiteDomain parameter not defined in your config/domain file. You must add
it for using this version of AWStats.
Setup ('./awstats.model.conf' file, web server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for informations on how to setup a
wstats.
awstats.pl -output=testpage -confi
g=model
<html><body>
<br /><span style="color: #880000">
Error: SiteDomain parameter not defined in your config/domain file. You must add
it for using this version of AWStats.
</span><br />
<br /><b>Setup ('./awstats.model.conf' file, web server or permissions) may be w
rong.</b><br />
See AWStats documentation in 'docs' directory for informations on how to setup a
wstats.
</body></html>"
Anyone know what's going on there?
Once again, I was running AWStats on a workgrouped workstation with a downloaded IIS log file with modified format.
Have you followed the directions for setting it up? You changed the name of the config to awstats.mysite.com.conf? You edited the config file so it matched your setup? Can you post your awstats.mysite.com.conf file?
Hi, sorry for the long delay, but I wasn't around for the past week. The following is the first a few lines of log file I was trying to get AWStats to run upon.
#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2002-08-02 00:05:44
#Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes cs-bytes time-taken cs-version cs-host cs(User-Agent) cs(Referer)
2002-08-02 00:05:44 63.159.194.214 - W3SVC24 TITANS 208.209.200.112 80 GET /index.html - 200 0 10965 322 1860 HTTP/1.1
Regarding your question, I didn't modify the config file as directed. I'm pretty sure that my problem here is due to a few incorrect variables in the config file. What I'm suspect that I might have set the LogFormat (which is a customized format) and SiteDomain wrong.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.