WWW Statistics
Environment On our web server we use the following directory structure:
/local/www/ etc/ Script dir containing our web tools etc. htdocs/ Document root stats/ Main statistics directory WWW/ Main Web statistics directory 9701/ Web statistics for Januar '97 9702/ Web statistics for February '97 ... FTP/ Main FTP statistics directory 9701/ FTP statistics for Januar '97 9702/ FTP statistics for February '97 ... elkner/ Main WWW statistics dir for user elkner 9701/ WWW statistics for elkner for Januar '97 9702/ WWW statistics for elkner for February '97 ... logs/WWW/ Contains current httpd logfiles SAVE/ Archive of old httpd logfiles (e.g. accesslog.9612.gz, accesslog.9611.gz ...) logs/FTP/ Contains current ftpd logfiles SAVE/ Archive of old ftpd logfiles (e.g. xferlog.9612.gz, xferlog.9611.gz ...)Cronjobs The following cronjobs are used to update the statistics about our web server:
# Monthly statistics 0 0 1 * * /local/www/etc/savestats 5 0 1 * * /local/www/etc/makestats.month.pl # daily statistics 30 * * * * /local/www/etc/makestats all current >/dev/nullSupporting Scripts
If you have any questions, feel free to contact me via e-mail.