apt-get install awstats
ErrorLog /var/log/apache2/domainname/error.log CustomLog /var/log/apache2/domainname/access.log combined Alias /awstats-icon /usr/share/awstats/icon Alias /stats /var/www/awstats/domainname <Directory /var/www/awstats/domainname> DirectoryIndex awstats.domainname.html AllowOverride AuthConfig Order allow,deny allow from all </Directory>
LogFile="/var/log/apache2/domainname/access.log" LogFormat=1 SiteDomain="domainname" HostAliases="Aliases der Domain" DirIcons="/awstats-icon"
0 0 * * * root /var/www/awstats/updatenow 0 8 * * * root /var/www/awstats/updatenow 0 16 * * * root /var/www/awstats/updatenow
#!/bin/bash /usr/share/doc/awstats/examples/awstats_updateall.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl now /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl -config=domainname -lang=de -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/home/www/awstats/domainname