mod_layout and CGI

Alan Schmitz <[email protected]> Wed, 16 Mar 2005 10:14:18 -0600 (CST)
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
I'm running Red Hat Enterprise Linux 4, Apache 2.0.52, and mod_layout 
4.0.2a from CVS.  The header and footer directives are working great on 
all of my HTML pages, but the CGI scripts are returning pages with garbage 
text.  The header seems to be inserted correctly, but I'm getting garbage 
text inserted in the middle and at the end of every CGI generated page. 
On several pages the header is getting inserted a second time before the 
footer.

I tried disabling output buffering in Perl, but that just made the browser 
hang.  Is there anything I can do to Apache, mod_layout, or Perl to get 
mod_layout working with CGI scripts?

-Alan