RE: 4.0.1a not handling .htm files
"Alex Cohen" <[email protected]> Wed, 25 Aug 2004 13:40:53 +1000
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Ah thanks, that works perfectly now. *Promises to read the FAQ in future.* --- Alex -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Elliot Kendall Sent: Wednesday, August 25, 2004 12:18 PM To: [email protected] Subject: Re: [Mod_layout] 4.0.1a not handling .htm files 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 _______________________________________________ Mod_layout mailing list [email protected] http://lists.tangent.org/mailman/listinfo/mod_layout