I finally found a bit of time this weekend and followed this How-To to install AWStats on my home computer. I noticed that a few people mentioned having trouble using AWStats in CGI (the non-static pages) mode. After a bit of tinkering, I managed to get it to work.
You'll need Apache installed on your home computer (I have a WAMP system installed for dev work.)
To get it to work, I set up the AWStats "wwwroot" directory as a virtual web site. Here's the entry in httpd.conf:
CustomLog logs/AWStats-access.log common
ScriptAlias /cgi-bin/ "F:/WebSite/AWStats/wwwroot/cgi-bin/"
# Directives to add to your Apache conf file to allow use of AWStats as a CGI.
# Note that path "/usr/local/awstats/" must reflect your AWStats Installation path.
Alias /awstatsclasses "F:/WebSite/AWStats/wwwroot/classes/"
Alias /awstatscss "F:/WebSite/AWStats/wwwroot/css/"
Alias /awstatsicons "F:/WebSite/AWStats/wwwroot/icon/"
ScriptAlias /awstats/ "F:/WebSite/AWStats/wwwroot/cgi-bin/"
# This is to permit URL access to scripts/files in AWStats directory.
Allow from all
Don't forget to add an entry to your c:\windows\system32\drivers\etc\hosts file so the browser can find it.
And if you're on a Windows system, uncomment this line in httpd.conf as well:
Finally, edit the awstats.pl file and change this line:
(Adjust the path as needed. It should point to the perl.exe directory.)
That should take care of it.
As always, YMMV. It works for me.