You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ha...@ooo.lanl.gov> on 1995/08/20 07:11:12 UTC

page counter module


http://www.hyperreal.com/httpd/incoming/mod_counter.c

is a page counter module I just wrote.

It keeps a counter file (CounterLog, default=logs/counter_log) and
sets an ENV variable called "URL_COUNTER" for includes and
scripts to play with.

it increments the counter for "Not modified" responses (unlike the
standard SSI based counters), which should please some people.


It might be rough to look at, but it seems to work.



rob
--
http://nqcd.lanl.gov/~hartill/