Welcome to mod_layout!

What this provides you with is a way to add
footers and headers to all (or a subset) of
the content that your site provides.  With
it you can also define your own tagging language.

How tested is this version? 
Very little. This is for Apache 2.0 only. At this point 
it is not as feature complete as compared to the version
for Apache 1.3 and it is configured a bit differently.
The good news is that it is a lot faster :)
Reading the faq for 1.3 may provide some clues as to how to use it. 
Right now this is all in flux but I wanted to go on and
get a version out for people to use. 

Look at the file ChangeLog for what changes have been
made for the last few versions.

So how do I make this work?
An example config for your httpd.conf
file would be the following:
<Virtualhost www.geek.com>
	AddOutputFilter LAYOUT html
	LayoutFooter /footer.html
	LayoutHeader /header.html
</virtualhost>

The LayoutFooter directive can also be a cgi
(aka putting in "LayoutFooter /cgi-bin/printenv" would
happily append the environmental variables to
the end of all of the output for your site).

If you want to cut down on processing the
following will also work:
<Virtualhost www.geek.com>
	AddOutputFilter LAYOUT html
	LayoutFooter "<P> This is the tail end of things<P>"
	LayoutHeader "<P> This is the beginning of things<P>"
</virtualhost>

The following is an example which will wrap PHP along
with html documents.
<Virtualhost www.geek.com>
	AddOutputFilter LAYOUT html
	LayoutFooter /footer.html
	LayoutHeader "<P> This is the beginning of things<P>"
</virtualhost>


	-Brian <brian@tangent.org>
	 Seattle, Washington
