Copyright 2005, Egressive Limited, www.egressive.com
This set of scripts is indended to accomplish the following:
For each of a number of configured "domains" on this or another
server, this script will
a. mirror (rsync) a designated HTTP common access_logs to a local access_log.
b. if it does not already exist, create the appropriate AWStats
configuration file, including global and Egressive-specific
configuration defaults as required.
c. if it has not be performed already, initialise the
statistics database
d. update the statistics database
e. produce a series of HTML pages based on the statistics
f. copy the relevant icon and graphics files into a suitable
subdirectory so that they're available for the HTML pages to include
g. put those HTML pages into a web-viewable directory appropriate to
the month within the domain's directory
h. create a sensible "index.html" page so that a browser clicking on
that month directory sees the summary page for that month and can
access the other, more specific pages linked in that summary.