Received: by taz.hyperreal.com (8.6.12/8.6.5) id NAA02517; Tue, 9 Apr 1996 13:29:45 -0700 Received: from ooo.lanl.gov by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id NAA02509; Tue, 9 Apr 1996 13:29:42 -0700 Received: by ooo.lanl.gov (1.37.109.16/16.2) id AA085531760; Tue, 9 Apr 1996 14:29:20 -0600 From: Rob Hartill Message-Id: <199604092029.AA085531760@ooo.lanl.gov> Subject: Re: conditional HTML To: new-httpd@hyperreal.com Date: Tue, 9 Apr 96 14:29:19 MDT In-Reply-To: <199604091805.NAA10403@sierra.zyzzyva.com>; from "Randy Terbush" at Apr 09, 96 1:05 pm 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@hyperreal.com Status: O X-Status: > > If anyone has any tricks that'd help here, I'd love to hear from you. > > Take a look at the following attachment. I am pretty sure that > I mailed notice of this to the list a couple of weeks ago. > Sounds like what you are looking for. Mailing it to the list doesn't guarantee that it seeps into my brain :-) Works a treat. I had to replace a pile of "rprintf" calls to "rputs" because it was based on 1.0.3. BTW, this is ugly... what should I have used? rputs("", r); rputs(location, r); rputs("", r); =-= This gets my vote for inclusion in the contrib dir. Patching the Makefile to get it to work is a pain. Perhaps its mod_include.c could just #include "regexp.c"' to save that hassle. It'd then become a standalone module... unless of course regexpr.c is compiled into apache by default so that future regexp requirements have a ready-to-use set of functions to call on. The license seems to be relaxed enough for us to do this. rob