Installation of Webreport 1) Making the binary type: make webreport This will compile the webreport.c file into a webreport binary. 2) Installation I usually put it in the /usr/local/bin directory As root: cp webreport /usr/local/bin 3) Configuration Edit the webreport.conf file and then copy it to /etc By default, webreport looks in /etc/webreport.conf for all the configuration information. What is available for configuration in the webreport.conf file? There are required lines and optional values. The required lines are: ------------------------------------------------------ stop_prog = program to run to stop the web server. This is normally "apachectl stop" for and apache server. I use: stop_prog = /usr/local/apache/bin/apachectl stop ------------------------------------------------------ start_prog = program to run to start the web server. I use: start_prog = /usr/loca/apache/bin/apachectl start ------------------------------------------------------ mail_prog = program to use for sending email reports Most systems come with the "mail" command. I recomend you use it. I use: mail_prog = mail ------------------------------------------------------ log_dir = directory where all the logs go This assumes you put all your logs in the same directory. That's what apache does by default. At the beginging of the month, webreport will automatically delete your old web logs. It uses the log_dir line to know which directory to delete lines from. Basicly, webreport runs "rm -rf log_dir" I use: log_dir = /usr/local/apache/logs Optional configuration lines