Re: Wrapping ColdFusion generated files
Brian Aker <[email protected]> Tue, 25 Dec 2007 15:26:59 -0800
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Hi!
One additional note. To make ColdFusion work (or PHP...)
You need to use this directive:
AddOutputFilterByType LAYOUT text/html
I've updated the README.
Cheers,
-Brian
On Dec 24, 2007, at 12:15 PM, Brady Bellinger wrote:
> 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
> _______________________________________________
> Mod_layout mailing list
> [email protected]
> http://lists.tangent.org/mailman/listinfo/mod_layout
--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/ <-- Me
http://tangent.org/ <-- Software
http://exploitseattle.com/ <-- Fun
_______________________________________________________
You can't grep a dead tree.