Wrapping ColdFusion generated files

"Brady Bellinger" <[email protected]> Mon, 24 Dec 2007 15:15:51 -0500
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
Happy Holidays everyone!

I'm trying to get mod_layout 4.1 to wrap ColdFusion generated files.
For all practical purposes, ColdFusion is just like PHP.  The mime
type of CF generated pages is "text/html", which I see is already
hardcoded in mod_layout.c.  I've tried the following:

AddOutputFilter LAYOUT cfm
and
AddOutputFilter LAYOUT text/html

but get no wrapping.

An interesting thing:  I cannot wrap www.foo.com/index.cfm , but if I
set index.cfm to be a DirectoryIndex, and call www.foo.com/ it will
wrap.  So, mod_layout can see the correct type in this case.  It seems
like mod_layout just simply doesn't like the .cfm extension (?)

I am assuming CF's content type is text/html because that's what the
header on the response says.  Maybe internally to Apache CF stuff is a
different mime type?

Any pointers would be greatly appreciated!

Brady
-- 
----------------------------------------------
brady at bradybellinger dot com