Return-Path: owner-new-httpd Received: by taz.hyperreal.com (8.6.12/8.6.5) id PAA27748; Fri, 4 Aug 1995 15:52:35 -0700 Received: from eat.organic.com by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id PAA27743; Fri, 4 Aug 1995 15:52:34 -0700 Received: (from brian@localhost) by eat.organic.com (8.6.11/8.6.9) id PAA09991; Fri, 4 Aug 1995 15:52:33 -0700 Date: Fri, 4 Aug 1995 15:52:31 -0700 (PDT) From: Brian Behlendorf Subject: Re: server cgi include bug (fwd) To: new-httpd@hyperreal.com In-Reply-To: <199508042124.OAA21599@taz.hyperreal.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@apache.org On Fri, 4 Aug 1995, Rob Hartill forwarded: > > >CGI scripts *must* have headers. They're not CGI if they don't > > >produce a header. > > >If you want to include output of a script > > >that doesn't produce headers, you should use exec cmd="" > > > > This is not how NCSA's server works, that's why I call it a bug. The problem > > with using "exec cmd" is that you must know the absolute path to the script, > > but "exec cgi" allows you to use a virtual path. I can't afford to use > > absolute paths since the scripts must be portable with no modifications. So, the solution is obviously to allow "exec cmd" to use relative paths. That's how #include works too. > > With NCSA's server, I wrote docs that had "exec cgi" includes imbedded > > in the middle of a document. Now they don't work with Apache, which > > advertises itself as a "drop-in replacement". This is not so, and > > therefore it's a misleading statement. Hahaha. > > Either Apache needs to conform to NCSA standards, [er, bugs] > > or a mechanism to > > exec cmds via virtual paths needs to be added. This is what I'd prefer > > The former is highly > > preferable for compatiblity reasons. a "drop-in replacement" should > > be exactly that. "...highly preferable because I'm lazy and don't like fixing my bugs." Sorry, busy Friday. The docs are still in progress. RobT, you can announce anytime, it'll be a week before the documentation is fully complete but I'll work on it this weekend. I will have 0.8.7 on hyperreal and organic before the end of the day. Brian --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/