[CentOS] simple website hit counter

Les Bell lesbell at lesbell.com.au
Sat Nov 27 23:34:20 UTC 2010

John Hinton <webmaster at ew3d.com> wrote:

You set it to run once per day against the logs for that website...
normally around midnight. The loads aren't that bad. The reporting I
think defaults to 12 months of stored data which is stored normally in a
directory in the web root for that website. That directory of course can
be protected by something like htaccess.

Just a heads up: the Webalizer report logs are not managed by logrotate,
and will continue to accumulate indefinitely. I had a server fall over a
couple of months ago when /var filled up; after a little du'ing, I
discovered that the thing had three and a half years' worth of Webalizer
logs taking up a lot of space.


--- Les Bell
Tel: +61 2 9451 1144

More information about the CentOS mailing list