Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-06-2004, 01:15 PM   #1
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
webalizer files "invisible"?

Hello all,

I just finished a hardware upgrade of my server, and transition to the new box was pretty much seamless except for one webalizer stats have turned invisible, and this is turning downright bizarre.

First of all, I run webalizer:
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 ''
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 "" would take me to the index page of my stats, but now I get a 404. But the files exist???
[11:06][root@vyvyan webalizer]# pwd
[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 "" I get a 404. On the server if I am in 'webalizer' directory, if I run "lynx" I get 404, but if I run "lynx index.html" it will display the page fine. Even stranger... I run "lynx" 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.
Old 12-06-2004, 01:18 PM   #2
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Check the apache.conf file for the directory index files. Maybe it is set only to index.htm, and not index.html. this is a longshot, but maybe
Old 12-06-2004, 01:26 PM   #3
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Original Poster
Rep: Reputation: 78
Hey, thanks for quick response. Here is relevant section:
### DirectoryIndex: Name of the file or files to use as a pre-written HTML
### directory index.  Separate multiple entries with spaces.
<IfModule mod_dir.c>
    DirectoryIndex index.html
</IfModule> is custom suffix for my php pages. So this is all good.
Here is the section on webalizer:
<Directory /var/www/localhost/htdocs/webalizer>
    AllowOverride All
    Options Indexes
    <IfModule mod_access.c>
      Order deny,allow
      Deny from all
      Allow from x.x.x.x
Here, x.x.x.x is the IP of the workstation I check my stats from. Every other page on the site displays just fine. Only webalizer pages screw up. Not just index.html = 404 = 404 = 404${any_real_page_that_exists}.html = 404

Last edited by bulliver; 12-06-2004 at 01:30 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
add "Artist" and "Album Title" to mp3 files powah Linux - Software 2 04-05-2005 03:04 AM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
"ifcfg-ethx" and "network-functions" files peok Linux - Networking 12 08-13-2003 06:06 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration