/etc/wwwstat/monthly.rc is in wwwstat 2.0-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | $zcommand = 'gzip -9';
$zextension = '.gz';
$wstatcmd = 'wwwstat';
# Set up the filenames to be used
$ServerRoot = '/var/www';
$NewLog = '/var/log/apache/access.log'; # Current logfile
$OldLog = $NewLog . '.1'; # and temp location
$PidFile = '/var/run/apache.pid';; # Server's PID file
$ErrorLog = '/var/log/apache/error.log'; # Server's Error Log
$TempLog = "/tmp/templog-$$.txt"; # Temporary file for last month's log
1;
|