Re: Layout and dynamic Scripts (not LayoutHeader / LayoutFooter) returns zero byte page.
Brian Aker <[email protected]> Sat, 5 Jan 2008 09:11:15 -0800
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Hi! Pull the latest version by going here: http://hg.tangent.org/mod_layout-5.0/ And clicking on "gz" For directives try this: AddOutputFilterByType LAYOUT text/html Cheers, -Brian On Jan 5, 2008, at 4:56 AM, Markus Bordihn wrote: > Hi all, > I try several things to get following working, without success: > > Apache Config > ... > AddOutputFilter LAYOUT .htm > LayoutComment Off > ... > Layout "<!-- JSHead -->" /jshead.php > ... > > /jshead.php > ... > <?php > echo "test 123"; > ?> > ... > > The Webserver return a zero content page with no content :/ > When i remove the line all worked correct, also in the error log there > is no Error and when I insert a php error in the file, this error > shows > up in the error log. > > I would be happy when someone have try this allready or if somebody > know > why this is not possible ? > > The Problem is i cant used "LayoutHeader" or "LayoutFooter" because > this > should be in the <head>...</head> of the html document. > > I use Apache 2.2 and the lastest Mod_Layout Version. > > Thanks a lot and Greetings, > - Markus > _______________________________________________ > 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.