Re: Layout directive not taking effect

Samuel Vogel <[email protected]> Tue, 20 Nov 2007 16:43:18 +0100
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
Hey guys,

I did get it to work, after trying out some more directives found on google.
This is how my config file looks like now:

<IfModule mod_layout.c>
        AddOutputFilter LAYOUT html php
        Layout </HEAD> "<!-- Kilu Test Comment //-->" prepend
</IfModule>

Unfortunately this prevents any gzipped php page from showing up.
I have read the list and it was said that this could be solved in Apache 
2, but the solution was not mentioned.
I am using 2.2. Could anybody post the solution?

Regards,
Samy

Samuel Vogel schrieb:
> Hey guys,
>
> I have installed mod_layout 5.0 on an Apache 2.2.6 Server.
> mod_layout is loaded correctly and does find the directives I've set:
>     In file: /etc/apache2/httpd.conf
>        7: LayoutFooter "<!-- page automatically parsed by web server -->"
>        8: Layout </HEAD> "<!-- Kilu Test Comment //-->" prepend
>     In file: /etc/apache2/sites-enabled/uservhosts
>        1: <VirtualHost *>
>       10:   Layout </HEAD> "<!-- Kilu Test Comment //-->" prepend
>       11:   LayoutFooter "<!-- page automatically parsed by web server -->"
>         : </VirtualHost>
>
>
> It does not however take effect. Neither on HTML nor PHP pages.
> Does anybody have an clues on where the problem could be comming from?
>
> Regards,
> Samy
> _______________________________________________
> Mod_layout mailing list
> [email protected]
> http://lists.tangent.org/mailman/listinfo/mod_layout
>