“This month, I will continue to explore filtered I/O by writing
a simple filter to add a header and/or footer to every page that
the server sends. This filter will not explore all of the power of
the filtered design in 2.0, but it is a good start.”
“Rather than just review the filtering code, I am going to go
over the entire module, so that we can all see how everything fits
together. The idea behind this filter is that many sites want to
add a small piece of text to the top or bottom of every page that
is served. With Apache 1.3, this is very difficult to do, but with
filtering this becomes very simple. This module will actually offer
two methods for adding text to the top and bottom of each page. The
first option is to use a file from the disk, and the second is to
specify a text string that will be inserted directly into the
page.”