Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 35992 invoked from network); 9 Apr 2007 20:32:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2007 20:32:20 -0000 Received: (qmail 78849 invoked by uid 500); 9 Apr 2007 20:32:25 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 78817 invoked by uid 500); 9 Apr 2007 20:32:25 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 78808 invoked by uid 99); 9 Apr 2007 20:32:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 13:32:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [199.203.54.245] (HELO vl654.host245.netvision.net.il) (199.203.54.245) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 13:32:18 -0700 Received: from [192.168.2.115] (bzq-88-154-105-253.red.bezeqint.net [88.154.105.253]) (authenticated bits=0) by mail1.mirimar.net (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l39KVoCd008825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 9 Apr 2007 23:31:52 +0300 Message-ID: <461AA2A4.7010909@beamartyr.net> Date: Mon, 09 Apr 2007 23:31:32 +0300 From: Issac Goldstand Organization: Mirimar Networks User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: server side includes References: <8d38ca0a0704091257ledcea7aj5d3e3a6e834871f0@mail.gmail.com> In-Reply-To: <8d38ca0a0704091257ledcea7aj5d3e3a6e834871f0@mail.gmail.com> X-Enigmail-Version: 0.94.2.0 OpenPGP: url=http://www.beamartyr.net/pubkey.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.90.1/3058/Mon Apr 9 22:45:50 2007 on hector.mirimar.net X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org You'd probably just use output filters to parse the output stream and add content according to what you find... I don't have a C example, but do have a Perl example (string parsing is just soooo much more trivial with Perl than C) at http://search.cpan.org/src/ISAAC/Apache-UploadMeter-0.9915/lib/Apache/UploadMeter.pm (search for "### Output filters"). One replaces a "custom" tag, and one simply includes HTML at the beginning of Issac Sam Carleton wrote: > As I sit here on hold, I started thinking about my little apache > module again. I recall reading in "Writing Apache Modules in Perl and > C" how with Perl it is quick and easy to create a server side include > handler, I think that is what it was called. How would one go about > doing that in a C module? Are there any examples? > > Sam