I have Debian Lenny running Apache with perl/cgi enabled and working fine. I cp'd the latest awstats stable to /usr/local/awstats and ran the install script successfully. When I attempt a restart of apache, I get the error: Invalid command 'LogFile="/var/www/example.com/logs/whatever_access.log"', perhaps misspelled or defined by a module not included in the server configuration when I comment out that directive in the /etc/apache2/conf.d/awstats.www.example.com.conf file, apache will run, but the url to access that conf file fails on the next directive down: Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats. why isn't apache seeing/parsing awstats config. There are no strange log file errors, and apache is writing successfully to /var/www/example.com/logs/whatever_access.log file each time a user accesses the site. I've cut/paste the file path to make sure it's accurate.
figured it out, the debian package was conflicting with the downloaded version, and was expecting config files in /etc/awstats/ rather than the standard /etc/apache2/conf.d/ location.