SpiritAu

Active Member
Feb 23, 2003
32
0
156
Aussie Land!
We're running:
WHM 11.2.0 cPanel 11.11.0-R16908
CENTOS Enterprise 4.5 i686 - WHM X v3.1.0
Apache/1.3.37 (Unix)


We have an issue with webstats as apache isn't logging visits correctly.
For example the domlog file only has text 'combinded' for each visit; and this isn't correct it should have the combinded logfile data being the output; but something is screwed up!

This is happening on all sites; and the httpd.conf entries look like this:

<VirtualHost xxxxx:80>
ServerName xxxxx.com
ServerAlias www. xxxxx.com.au xxxxx.com.au www.xxxxx.com
DocumentRoot /home/xxxxx/public_html
ServerAdmin [email protected]
UseCanonicalName Off
Options -ExecCGI -Includes
RemoveHandler cgi-script .pl .cgi
CustomLog /usr/local/apache/domlogs/xxxxx.com combined
BytesLog /usr/local/apache/domlogs/xxxxx.com-bytes_log
User xxxxx
Group xxxxx
Userdir disabled
Userdir enabled xxxxx
ScriptAlias /cgi-bin/ /home/xxxxx/public_html/cgi-bin/
</VirtualHost>

Any ideas?
 

kev1nk

Member
Sep 11, 2007
11
0
51
Re: Statistics

Hello,

The statistics software will not work properly if you do not have entries in your logs. The domlogs folder has one main goal - to keep the logs for your virtual hosts. The first thing that you have to check your other logs. You have to check your access_log and your error_log. If you have entries there then your logging function is working properly. Then you could try something very interesting. You could create a simple html file called "blablabla.html" in the DocumentRoot of your VirtualHost and to try to access it. If you are able to access it then the VirtualHost is recognized( that is good). The next step is to grep "blablabla.html" in your logs and domlogs folder. Then I am sure that you will find the reason for your issues.