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&#39;m running mod_layout 5.1 on Apache 2.2.8, and loading it like this:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Directory &quot;/somedirectory/&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride All<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddOutputFilterByType LAYOUT text/html<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LayoutFooter /directory/adfoot.html<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LayoutHeader /directory/adhead.html<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br><br>it seems to work fine, but will output headers on some content that is not text/html.&nbsp;&nbsp; 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.&nbsp;&nbsp; Should it be doing this?&nbsp; How can I specify it to put headers on ONLY the text/html<br>
<br>Also, I&#39;ve had issues with frames.&nbsp; I&#39;ve tried the LayoutIgnoreTag &lt;frame&gt; method, but it doesn&#39;t seem to work.&nbsp; 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==--