Re: 4.0.1a not handling .htm files
Elliot Kendall <[email protected]> Tue, 24 Aug 2004 22:18:29 -0400
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <20040825021829.GD11874@kramer> |
On 2004-08-25 10:50:52 +1000, Alex Cohen wrote:
> I've just migrated a machine to apache 2.0.50 with mod_layout 4.0.1a and
> managed to get most of the configration from the apache 1.3.x setup
> working fine. However I've just discovered mod_layout is apparently
> ignoring .htm and .php files for layout directives, .html are
> unaffected. How do I force mod_layout to do any work on these files now
> that the directives:
Quoth the fine README:
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>
So if you want to parse htm and php files, try:
AddOutputFilter LAYOUT html htm php
Elliot Kendall
Systems Administrator
Brandeis University