Return-Path: owner-new-httpd Received: by taz.hyperreal.com (8.6.12/8.6.5) id WAA23061; Sat, 19 Aug 1995 22:12:04 -0700 Received: from ooo.lanl.gov by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id WAA23056; Sat, 19 Aug 1995 22:12:01 -0700 Received: by ooo.lanl.gov (1.37.109.16/16.2) id AA287885472; Sat, 19 Aug 1995 23:11:12 -0600 From: Rob Hartill Message-Id: <199508200511.AA287885472@ooo.lanl.gov> Subject: page counter module To: new-httpd@hyperreal.com (Apache) Date: Sat, 19 Aug 95 23:11:12 MDT X-Organization: Theoretical Division, T-8. Los Alamos National Laboratory X-Snail: LANL Theoretical Divi' T-8, MS B285, P.O Box 1663, Los Alamos NM 87545 X-Marks-The-Spot: Doh ! X-Url: http://nqcd.lanl.gov/~hartill/ X-Cessive-Use-Of-Headers: check Mailer: Elm [revision: 70.85] Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@apache.org 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/