Hello all,
I just finished a hardware upgrade of my server, and transition to the new box was pretty much seamless except for one thing...my webalizer stats have turned invisible, and this is turning downright bizarre.
First of all, I run webalizer:
Code:
Webalizer V2.01-10 (Linux 2.6.7-hardened-r16) English
Using logfile /var/log/apache2/access_log (clf)
Creating output in /var/www/localhost/htdocs/webalizer
Hostname for reports is 'badcomputer.org'
Reading history file... webalizer.hist
Reading previous run data.. webalizer.current
Saving current run data... [12/06/2004 10:54:37]
Generating report for December 2004
Generating summary report
Saving history information...
190 records (163 ignored) in 0.06 seconds
All good there, as you can see "/var/www/localhost/htdocs/" is my document root. So before typing "badcomputer.org/webalizer/" would take me to the index page of my stats, but now I get a 404. But the files exist???
Code:
[11:06][root@vyvyan webalizer]# pwd
/var/www/localhost/htdocs/webalizer
[11:07][root@vyvyan webalizer]# ls -l *html
-rw-r--r-- 1 root root 8349 Dec 6 11:02 index.html
-rw-r--r-- 1 root root 9705 Dec 5 00:31 ref_200409.html
-rw-r--r-- 1 root root 15588 Dec 5 00:31 ref_200410.html
-rw-r--r-- 1 root root 15874 Dec 5 00:31 ref_200411.html
*** snip ***
-rw-r--r-- 1 root root 152199 Dec 5 00:31 usage_200409.html
-rw-r--r-- 1 root root 111844 Dec 5 00:31 usage_200410.html
-rw-r--r-- 1 root root 116339 Dec 5 00:31 usage_200411.html
-rw-r--r-- 1 root root 99422 Dec 6 11:02 usage_200412.html
This is not a permission problem. I checked apache.conf, and it looks good. In fact it is the exact file I used on my old server that worked fine. Even if I type "badcomputer.org/webalizer/index.html" I get a 404. On the server if I am in 'webalizer' directory, if I run "lynx badcomputer.org/webalizer/" I get 404, but if I run "lynx index.html" it will display the page fine. Even stranger... I run "lynx badcomputer.org/webalizer" and get the 404. Then I use lynx's 'g' command and type in "./index.html" and it displays the page!!! So what the hell is going on here?? This has got to be something super simple, but it is driving me batty here.