I remember running this command before and it used to build all the pages, but now that I use it again it only builds the main page.
(new lines for readability)
/usr/share/awstats/tools/awstats_buildstaticpages.pl
-update
-config=mydomain.com
-dir=/var/www/awstats/mydomain.com/
-awstatsprog=/usr/lib/cgi-bin/awstats.pl
This is my awstats.mydomain.com.conf
:
LogFile="/etc/nginx/logs/mydomain.com.log"
LogFormat=1
SiteDomain="mydomain.com"
DNSLookup=0
DirData="/var/lib/awstats/mydomain.com/"
HostAliases="mydomain.com"
The only file I get is awstats.mydomain.com.html
Does anyone know what is causing this? or am I missing something else?
I'm using Debian Squeeze x86
It seems that
awstats_buildstaticpages.pl
script doesn't replaceShow*
config options with its default values. So in order to all statistic files could be formed, you must determine (or uncomment default) values for options in awstats config file.These are: