Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 1995 12:23:33 +0000 ()
From:      James Raynard <fqueries@parody.tecc.co.uk>
To:        Kevin McQuiggin <mcquiggi@sfu.ca>
Cc:        questions@freebsd.org
Subject:   Re: Problem with NCSA httpd v1.5
Message-ID:  <Pine.BSF.3.91.951230122246.180F-100000@parody.tecc.co.uk>
In-Reply-To: <199512281801.KAA22136@ferrari.sfu.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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'




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951230122246.180F-100000>