Include "/etc/awstats/awstats.conf" Include "/etc/awstats/awstats.conf.local" LogFile="/var/log/apache/%YOURVHOST%-custom.log" SiteDomain="%YOURVHOST%" HostAliases="%YOURVHOSTALIASES%" DirData="/www/stats.domain.com-ssl/htdocs/awstats/%YOURVHOST%/" AllowAccessFromWebToFollowingAuthenticatedUsers="admin" # to put the stats in the vhost docroots, use # DirData="/www/%YOURVHOST%/htdocs/awstats/ # and disable AllowAccessFromWebToFollowingAuthenticatedUsers # also, note that I include the awstats.conf that Debian supplies, # and override what I want in the awstats.conf.local # that way, nothing breaks when Debian supplies a new config.