Re: Wrapping ColdFusion generated files
Brian Aker <[email protected]> Mon, 24 Dec 2007 21:21:16 -0800
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Hi Brady, I've found a bug related to this in the 5.0 branch (and the problem with PHP not getting parsed). If you want to test it, go to this URL: http://hg.tangent.org/mod_layout-5.0/ There is a "gz" link. From that you can get the latest copy in the repository for testing. I believe there is still a bug related to image generation corruption, but PHP is working now, so cold fusion I believe will work as well. 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.