From owner-freebsd-questions Mon Jan 1 17:30:50 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA20063 for questions-outgoing; Mon, 1 Jan 1996 17:30:50 -0800 (PST) Received: from ferrari.sfu.ca (ferrari.sfu.ca [142.58.110.11]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA20058 for ; Mon, 1 Jan 1996 17:30:48 -0800 (PST) Received: from gumby.ve7zd.ampr.org ([142.58.14.242]) by ferrari.sfu.ca with SMTP (8.7.1/SFU-2.6H) id RAA10607 (from mcquiggi@sfu.ca); Mon, 1 Jan 1996 17:30:42 -0800 (PST) Message-Id: <199601020130.RAA10607@ferrari.sfu.ca> X-Sender: mcquiggi@ferrari.sfu.ca X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 01 Jan 1996 17:30:42 -0800 To: James Raynard From: Kevin McQuiggin Subject: Re: Problem with NCSA httpd v1.5 Cc: questions@freebsd.org Sender: owner-questions@freebsd.org Precedence: bulk At 12:23 PM 95.12.30 +0000, you wrote: >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? No, they are broken as well! Kevin --- Kevin McQuiggin VE7ZD mcquiggi@sfu.ca