Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 24198 invoked by uid 6000); 19 Aug 1998 22:47:51 -0000 Received: (qmail 24144 invoked from network); 19 Aug 1998 22:47:48 -0000 Received: from twinlark.arctic.org (204.62.130.91) by taz.hyperreal.org with SMTP; 19 Aug 1998 22:47:48 -0000 Received: (qmail 30447 invoked by uid 500); 19 Aug 1998 22:47:46 -0000 Date: Wed, 19 Aug 1998 15:47:46 -0700 (PDT) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: parsing CGI output with mod_include In-Reply-To: Message-ID: X-Comment: Visit http://www.arctic.org/~dgaudet/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org In apache-nspr I converted mod_include to BUFF * ... I think the only thing I needed add for that was ap_bunputc(). You could always cheat, unbuffer the cgi, grab the fileno and stuff it into a FILE *. Dean On Wed, 19 Aug 1998, Marc Slemko wrote: > With 1.2, a hack to make mod_include parse CGI output was easy. However, > in 1.3 FILE*'s have been converted to BUFF*'s in mod_cgi, which makes it > somewhat harder as the two don't mesh any more. > > Anyone know of an existing patch to make this work in 1.3, or do we have > to roll our own? > >