I'm in the process of setting up a new webserver for myself and this time thought I'd use a web log analyzer.
Operating System - Windows 2000
Web Server Apache 2
I've run into a couple of problems I can't solve.
1) Cronolog -
This is supposed to be able to split the log files from Apache to monthly files. So in httpd.conf I've used
ErrorLog "|C:/Program Files/Cronolog/cronolog D:/apachelogs/%Y%Merror.log"
CustomLog "|C:/Program Files/Cronolog/cronolog D:/apachelogs/%y%maccess.log" combined
Neither seems to work. For the error log apache gives me an error, so when I put that back to the default the access.log gets written to D:/apachelogs without being split.
am I using the right syntax for this to work?
2) Webalizer -
Becaue of the problems with Cronolog the Apache httpd.conf, I've just used a normal path and file name to write the logs. This is a seperate problem.
I used Analog to look at the access.log file and that works fine. Now I'm trying to compareit to Webalizer.
It is installed in C:/Program Files/Webalizer. The webalizer.conf file is in the same folder. I've edited it to read
LogFile D:\apachelogs\access.log
LogType clf
OutputDir D:\brisrayweb\stats
ReportTitle Usage Statistics for
HistoryName webalizer.hist
HostName brisray
HTMLExtension htm
everything else I've kept as in the sample.conf they supplied.
When I run Webalizer I get an error message that says
Hostname for reports is BRISRAYSERVER
History file not found ...
Brisrayserver is the name of the PC. Anyone any idea why this is happening?
I'm not sure whether this belongs in the this or the Web Site Development software forum. So I'm posting it in both. Sorry for the cross-posting but I'm not sure where the problem is, me, Apache or the software I'm trying to use.
Ray
Operating System - Windows 2000
Web Server Apache 2
I've run into a couple of problems I can't solve.
1) Cronolog -
This is supposed to be able to split the log files from Apache to monthly files. So in httpd.conf I've used
ErrorLog "|C:/Program Files/Cronolog/cronolog D:/apachelogs/%Y%Merror.log"
CustomLog "|C:/Program Files/Cronolog/cronolog D:/apachelogs/%y%maccess.log" combined
Neither seems to work. For the error log apache gives me an error, so when I put that back to the default the access.log gets written to D:/apachelogs without being split.
am I using the right syntax for this to work?
2) Webalizer -
Becaue of the problems with Cronolog the Apache httpd.conf, I've just used a normal path and file name to write the logs. This is a seperate problem.
I used Analog to look at the access.log file and that works fine. Now I'm trying to compareit to Webalizer.
It is installed in C:/Program Files/Webalizer. The webalizer.conf file is in the same folder. I've edited it to read
LogFile D:\apachelogs\access.log
LogType clf
OutputDir D:\brisrayweb\stats
ReportTitle Usage Statistics for
HistoryName webalizer.hist
HostName brisray
HTMLExtension htm
everything else I've kept as in the sample.conf they supplied.
When I run Webalizer I get an error message that says
Hostname for reports is BRISRAYSERVER
History file not found ...
Brisrayserver is the name of the PC. Anyone any idea why this is happening?
I'm not sure whether this belongs in the this or the Web Site Development software forum. So I'm posting it in both. Sorry for the cross-posting but I'm not sure where the problem is, me, Apache or the software I'm trying to use.
Ray