Re: [greenstone-users] Digital Library - CGI Error

From John R. McPherson
DateWed, 30 Aug 2006 21:12:34 +1200
Subject Re: [greenstone-users] Digital Library - CGI Error
In-Reply-To (5021D7164BD9DA4E998211FBBFEDD124034A7F98-ctsinchnsxub-cts-com)
On Mon, Aug 28, 2006 at 06:27:19PM +0530, Seetharaman, Srividhya (Cognizant) wrote:
> Hello All,

> We are getting the below error in our Digital Library. Kindly help me to
> solve this issue.

> http://elibrary/library.exe?site=localhost&a=p&p=about&c=ccpmater&ct=0&l
> =en&w=utf-8

> CGI Error
> The specified CGI application misbehaved by not returning a complete set
> of HTTP headers.

you haven't given any details of your server setup, so it's almost
impossible to debug this. What operating system? what web server software?
what version of greenstone? etc.

Some web servers expect cgi scripts to use "non-parsed headers" (such
as "HTTP/1.0 200 Ok" for the http status code) while others expect
scripts to return something like "Status: 200".