httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Issac Goldstand <mar...@beamartyr.net>
Subject Re: server side includes
Date Mon, 09 Apr 2007 20:31:32 GMT
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 <head>

  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

Mime
View raw message