

So for a robot user agent string such as.Ĭreate a entry such as this for RobotsHashIDLib 'proximic','Proximic',Īnd an entry such as this for RobotsSearchIDOrder_listx 'proximic', RobotsSearchIDOrder_listx is just an index, so if adding a number of new robots, create your listings for RobotsHashIDLib, then create a copy and delete the extraneous bits for RobotsSearchIDOrder_listx.Īdd new entries to the end of the arrays, just above the catch-alls. Robots need to be added to two arrays, RobotsSearchIDOrder_listx and RobotsHashIDLib. usr/local/awstats/wwwroot/cgi-bin/lib/robots.pm Locate the robots.pm, likely to be in one of the following locations, create a backup and then edit. Scheduled updates are configured in /etc/cron.d/awstats Add New Robots to Detection Updates can only be added in chronological order, therefore you may need to delete the data file for a particular month, and rebuild it entirely./usr/lib/cgi-bin/ -config=server -LogFile=access.log.
Restart awstats update#
To perform a one-off update from a specific log file.

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.
