www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Holmberg <po...@gnwmail.fi>
Subject mod_cgi/3612: Scripts working in 1.3.0 give Premature end of script headers in 1.3.3
Date Thu, 31 Dec 1998 06:56:29 GMT

>Number:         3612
>Category:       mod_cgi
>Synopsis:       Scripts working in 1.3.0 give Premature end of script headers in 1.3.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Dec 31 00:10:01 PST 1998
>Originator:     pohja@gnwmail.fi
>Release:        1.3.3patched
Linux www 2.0.34 #7 Thu Jul 9 10:25:02 EDT 1998 i486 GenuineIntel
Compiled with GCC
Perl 5.003_07
I have a guestbook perl script, flexbook from www.cgiscrips.net. I ran it under
Apache 1.3.0 and everything worked fine. Then I upgraded to 1.3.3 pached it for with the three
supported patches and compiled. Everything else works,
but not perl scrips. My guestbook processes the form, edits the actual guestbook, but when
it's supposed to say something like "were ok" it displays this ugly 500 Internal Server Error

I've read the F.A.Q - tested the buffer flushing without results. 
The script works form the command line.
It correctly displays Content-type and an empty line before the html outbut begins. A test
script doing nothing else than displaying a html text also fails in a similar matter. 

I've been through the script, the FAQ, the flexbook FAQ and my config files many times and
even recompiled apache. Will I have to downgrade to get this d**n script to work?
Umm.. I'm writing the homepage of a municipality (www.pohja.fi) but it won't be online until
it's all done. 
It's probably apache's way of reading stdin - or perls way to write stdout, but since the
buffering stuff in the FAQ didn't work I have no clue.
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message