Re: Possible bug when wrapping CGI/FastCGI generated pages

Con Tassios <[email protected]> Tue, 8 Jan 2008 21:25:38 +1100 (EST)
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
On Tue, 8 Jan 2008, Brian Aker wrote:

> Is the footer always right before the closing HTML tag, or is it
> scattered around in the document?

Yes, every instance of the footer in the document is right before a closing
HTML tag.


> This is a long shot but try this:
>
>    if (!r->main)
>    {
>      ap_remove_output_filter(f);
>      return ap_pass_brigade(f->next, b);
>    }
>
> This is layout_filter()


This change results in no headers/footers being applied.