[CentOS] simple website hit counter

Brian Mathis brian.mathis at gmail.com
Fri Nov 26 19:25:10 EST 2010


On Nov 26, 2010, at 17:00, Frank Cox <theatre at sasktel.net> wrote:

> Googling for this finds me a ton of stuff that doesn't actually do what I'm
> looking for.
> 
> I want a simple hit counter cgi script of some kind that will increment a
> counter on every page load but I want to access the counter from a different
> page.
> 
> In other words, I don't want to have a visible hit counter on the webpage
> itself.  I want to have a different webpage that will show me the number.
> 
> -- 
> MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com


For much less effort you can setup Google Analytics and also get a lot more information. Otherwise, you should probably take a look at one of the reporting packages like AWstats that analyze the Apache logs. No one really uses those simple counters much anymore. 


More information about the CentOS mailing list