From owner-freebsd-questions Mon Jan 1 16:39:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA17967 for questions-outgoing; Mon, 1 Jan 1996 16:39:28 -0800 (PST) Received: from parody.tecc.co.uk (parody.tecc.co.uk [193.128.6.83]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA17953 for ; Mon, 1 Jan 1996 16:39:23 -0800 (PST) Received: (from fqueries@localhost) by parody.tecc.co.uk (8.6.12/8.6.12) id MAA00263; Sat, 30 Dec 1995 12:23:33 GMT Date: Sat, 30 Dec 1995 12:23:33 +0000 () From: James Raynard To: Kevin McQuiggin cc: questions@freebsd.org Subject: Re: Problem with NCSA httpd v1.5 In-Reply-To: <199512281801.KAA22136@ferrari.sfu.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Thu, 28 Dec 1995, Kevin McQuiggin wrote: > I have a very minor problem with NCSA httpd 1.5 running on FBSD 2.1: > > When I run a cgi program written in C (as opposed to a shell script), and > that program uses environment variables (such as SERVER_PORT or > CONTENT_LENGTH) that should be set by httpd prior to doing an execve, the > environment variables get lost and are NOT set by the time my program is > invoked. Calls to getenv() return NULL for all of these variables. Do any of the test programs supplied in cgi-src work? James Segmentation fault (core dumped): cannot find file '.signature'