Httpd log rotation for wwwstat
THIS PROGRAM MUST ONLY BE RUN ONCE PER MONTH! DURING THE FIRST WEEK It assumes a lot, like that you use wwwstat and archive your logfiles once per month. You will need to configure it for your server before it can be used.
Reads the logfile (assumed to contain more than one month's worth of WWW common logfile entries) and moves the prior month's entries into a separate file. The new file is created on TMPDIR (to avoid filling up the disk), compressed using gzip, and then moved to the archive directory. The program also restarts the httpd server.
More info and the latest version of monthly can be obtained from
If you have any suggestions, bug reports, fixes, or enhancements, please join the <[email protected]> mailing list by sending e-mail with "subscribe" in the subject of the message to the request address <[email protected]>. The list is archived at the above address.