View Single Post
Old 31st August 2009, 08:41
SamTzu SamTzu is offline
HowtoForge Supporter
Join Date: Apr 2007
Location: Helsinki
Posts: 438
Thanks: 34
Thanked 56 Times in 39 Posts
Send a message via Skype™ to SamTzu


It's obvious in hindsight.

Change the values for incremental and hostname if you suffer from this problem.

Incremental yes

# IncrementalName allows you to specify the filename for saving the
# incremental data in. It is similar to the HistoryName option where the
# name is relative to the specified output directory, unless an absolute
# filename is specified. The default is a file named "webalizer.current"
# kept in the normal output directory. If you don't specify "Incremental"
# as 'yes' then this option has no meaning.

#IncrementalName webalizer.current

# ReportTitle is the text to display as the title. The hostname
# (unless blank) is appended to the end of this string (seperated with
# a space) to generate the final full title string.
# Default is (for english) "Usage Statistics for".

ReportTitle Usage statistics for

# HostName defines the hostname for the report. This is used in
# the title, and is prepended to the URL table items. This allows
# clicking on URL's in the report to go to the proper location in
# the event you are running the report on a 'virtual' web server,
# or for a server different than the one the report resides on.
# If not specified here, or on the command line, webalizer will
# try to get the hostname via a uname system call. If that fails,
# it will default to "localhost".

HostName server47
If you have problems with stats make sure that...

1) You have created a password for the site on ISPConfig3
(User is admin) If this dont work then you get 500 error.
(Check the .htpasswd_stats file.)

server43: ls -ahl /var/www/ total 28K
drwxr-xr-x 6 root root 4.0K 2009-09-08 13:13 .
drwxr-xr-x 12 root root 4.0K 2009-09-04 13:20 ..
drwxr-xr-x 2 web22 client1 4.0K 2009-09-01 13:54 cgi-bin
-rw-rw-r-- 1 root root 40 2009-09-08 13:13 .htpasswd_stats
lrwxrwxrwx 1 web22 client1 50 2009-09-01 13:54 log -> /var/log/ispconfig/http /
drwxr-xr-x 2 web22 client1 4.0K 2009-09-01 13:54 ssl
drwxrwxrwx 3 web22 client1 4.0K 2009-09-02 16:13 tmp
drwxr-xr-x 19 web22 client1 4.0K 2009-09-02 16:17 web

2) If you only can see 1 days worth of data make sure to edit /etc/webalizer/webalizer.conf
Incremental yes

3) If you have moved your site from ISPConfig2 server make sure that the web/stats/ folder does not contain any old .ht**** files.

4) If you have custom .htaccess file on your /web/ root try to rename it and see if the stats start to work.

Sami Mattila


Last edited by SamTzu; 8th September 2009 at 13:28.
Reply With Quote
Sponsored Links