mod_layout loading on wrong file types?
"No Bullshit XXX Host" <[email protected]> Mon, 28 Apr 2008 14:49:03 -0400
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
--===============4617853183396484558==
Content-Type: multipart/alternative;
boundary="----=_Part_2990_14149695.1209408544102"
------=_Part_2990_14149695.1209408544102
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi, I'm running mod_layout 5.1 on Apache 2.2.8, and loading it like this:
<Directory "/somedirectory/">
AllowOverride All
AddOutputFilterByType LAYOUT text/html
LayoutFooter /directory/adfoot.html
LayoutHeader /directory/adhead.html
</Directory>
it seems to work fine, but will output headers on some content that is not
text/html. Specifically, I have a php script that can output either
text/html or text/xml, depending on what is called, and the above will
insert headers on both types. Should it be doing this? How can I specify
it to put headers on ONLY the text/html
Also, I've had issues with frames. I've tried the LayoutIgnoreTag <frame>
method, but it doesn't seem to work. Does this only work with other
versions of mod_layout?
------=_Part_2990_14149695.1209408544102
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi, I'm running mod_layout 5.1 on Apache 2.2.8, and loading it like this:<br><br> <Directory "/somedirectory/"><br> AllowOverride All<br> AddOutputFilterByType LAYOUT text/html<br>
LayoutFooter /directory/adfoot.html<br> LayoutHeader /directory/adhead.html<br> </Directory><br><br>it seems to work fine, but will output headers on some content that is not text/html. Specifically, I have a php script that can output either text/html or text/xml, depending on what is called, and the above will insert headers on both types. Should it be doing this? How can I specify it to put headers on ONLY the text/html<br>
<br>Also, I've had issues with frames. I've tried the LayoutIgnoreTag <frame> method, but it doesn't seem to work. Does this only work with other versions of mod_layout?<br>
------=_Part_2990_14149695.1209408544102--
--===============4617853183396484558==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Mod_layout mailing list
[email protected]
http://lists.tangent.org/mailman/listinfo/mod_layout
--===============4617853183396484558==--