Awstats
If you would like to view statistics on any USSF 2010 site, just append /stats to the domain name (e.g. http://www.ussf2010.org/stats).
If you get a page not found error - please open ticket.
If you are a administrator, here are the steps for setting up Awstats on mendes.
These steps have all been placed in a file on mendes called /root/awstats-setup.
Please edit the file and change the variables at the top then execute.
- Create directories (replace $domain_name with the domain name in use (e.g. organize.ussf2010.org)
domain_name=organize.ussf2010.org mkdir /srv/www/$domain_name/awstats mkdir /srv/www/$domain_name/awstats/data mkdir /srv/www/$domain_name/awstats/web ln -s /srv/www/$domain_name/awsatst/web /srv/www/$domain_name/web/awstats
- Chown to the right user (the one that owns the web directory)
chown -r user:group /srv/www/$domain_name/awstats
- Create a file named after the domain and place it in /etc/awstats
LogFile="/srv/www/$domain_name/logs/web.log" SiteDomain="$domain_name" DirData="/srv/www/$domain_name/awstats/data" LogFormat=1
- Lastly, create a cron job as the user that owns the web site
crontab -u user
- With the contents:
/usr/local/sbin/mf-awstats-build-staticpages $domain_name /srv/www/$domain_name/awstats/web
