All pastes #1050990 Raw Edit

Jink

public text v1 · immutable
#1050990 ·published 2008-06-19 12:07 UTC
rendered paste body
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.