Re: CGI error - Mailing list pgsql-general

From Neil Conway
Subject Re: CGI error
Date
Msg-id 20010222212033.A430@klamath.dyndns.org
Whole thread Raw
In response to CGI error  ("Jeff" <jklcom@mindspring.com>)
List 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@home.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

pgsql-general by date:

Previous
From: Wayne Ward
Date:
Subject: install problem.
Next
From: Jinsoo Hwang
Date:
Subject: database backup...