Click to See Complete Forum and Search --> : webalizer reading wrong log


tocleora
02-07-2003, 10:58 AM
Hello, I have a a dedicated server with multiple virtual hosts. Via webmin, I click on the webalizer area, see that each log file is listed in regards to each virtual host. So I click on one of the logs, ran it, and found out that it was not only reading the logs from the domain, it was reading the master log. Mostly from the fact that it shows January stats and I didn't set this particular domain up until February. I also checked the log file to make sure it didn't have any information in it from January, it only shows information for 02/05 - 02/07 (today). So per webalizer's web site, I created /etc/webalizer/domain_name.conf, set LogFile to /home/domain_name/logs/access_log (where the log file is) and set OutputDir to /home/domain_name/www/stats. I then ran

/usr/bin/webalizer -c /etc/webalizer/domain_name.conf

The first time it didn't work at all, still showed the previous report, so I cd'd over to /usr/bin and ran this:

webalizer -c /etc/webalizer/domain_name.conf

That time it did generate a report, but I'm guessing it is still reading the master log because it is now actually showing information regarding other virtual hosts. I'm using webalizer 2.01-10 on Red Hat 7.3. Any suggestions? Thanks in advance.