Re: CGI error

From: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
To: pgsql-general(at)postgresql(dot)org
Cc: jklcom(at)mindspring(dot)com
Subject: Re: CGI error
Date: 2001-02-23 02:20:33
Message-ID: 20010222212033.A430@klamath.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Feb 22, 2001 at 07:52:54PM -0500, Jeff wrote:
> I'm getting this when access the cgi:

What HTTP daemon are you using?

> The specified CGI application misbehaved by not returning a complete set of
> HTTP headers. The headers it did return are:

Which headers did it return? You seem to have forgotten to paste something.

> printf("Content-Type: %s\n\n", contentType);

The HTTP standard specifies that lines should be ended by a CRLF pair -
i.e. "\r\n". Usually your HTTP daemon is smart enough to correct it (or
the browser does), but maybe that's the problem.

This doesn't seem related to Postgres. Try getting a simple CGI script
to work (i.e. printing "hello world") -- the same problem should occur,
AFAICT.

HTH,

Neil

--
Neil Conway <neilconway(at)home(dot)com>
Get my GnuPG key from: http://klamath.dyndns.org/mykey.asc
Encrypted mail welcomed

If one really is a superior person, the fact is likely to leak out
without too much assistance.
-- John Andrew Homes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thyagarajan Vasudevan 2001-02-23 02:30:18 Re: install problem.
Previous Message Bruce Momjian 2001-02-23 01:21:11 Re: [INTERFACES] Re: Chinese patch for Pgaccess