Re: Layout directive not taking effect

Samuel Vogel <[email protected]> Wed, 21 Nov 2007 23:38:48 +0100
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
Actually two other problems showed up and I'm wondering if mod_layout is 
supported anymore?

First Problem:
My apache config looks like this:
AddOutputFilter LAYOUT html php
LayoutIgnoreTag </label>
Layout </BODY> "<!-- Test //-->" prepend

This should ignore any page where a </label> Tag shows up. But it 
doesn't. My HTML looks like this:
<html>
<body>
    Blub
    <label></label>
</body>
</html>

And the "<!-- Test //-->" is prepended infront of the body Tag.

Second Problem:
Some of my PHP pages show up twice. For example WBB 3 ( 
http://samy.kilu.de/wbb/ ) and phpmyadmin version 2.11, but only after 
you are logged in.

Did anybody ever experience such issues?

Regards,
Samy

Samuel Vogel schrieb:
> 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
>>   
>>     
> _______________________________________________
> Mod_layout mailing list
> [email protected]
> http://lists.tangent.org/mailman/listinfo/mod_layout
>