To perform a one-off update from a specific log file. Highlight the webserver (not a web site).To change the above in IIS7, in IIS Manager Make sure the following are included (those in bold are the usually omitted culprits). URLReferrerWithQuery=1 follows on from two aboveīy default, IIS server logs do not contain enough fields.URLWithQueryWithOnlyFollowingParameters="title" - only treats variances in param title as distinct pages.URLWithQuery=1 - useful for Wiki's etc where query param indicates a different page.Wiki sites (and other sites where an URL parameter can specify a specific page).EG every 30 mins */30 * * * * /bin/perl /usr/lib/cgi-bin/ -config= -update >/dev/null.Add a scheduled job to crontab to update automatically.Test that you can see some stats, using URL similar to.Perform an initial stats gather for the site.HostAliases=”localhost 127.0.0.1" (example for a local site).LogFormat=1 (this will give you more detailed stats).LogFile=”/path/to/your/domain/access.log”.
Edit the config file for the site, specifically (see below for further options).Create a specific config file for the site to monitor.EG mv /home/user/awstats-7.2 /usr/local/awstats/.EG mv /usr/local/awstats/ /usr/local/awstats-v7.0.If upgrading from a previous version, backup the old version.Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Alias /awstatsclasses "/usr/share/awstats/lib/"Īlias /awstats-icon/ "/usr/share/awstats/icon/"Īlias /awstatscss "/usr/share/doc/awstats/examples/css".Site should now be available via URL similar to.Create apache config file for site with contents show below.Edit the the generic template config file if required.