www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Plantz <pla...@fgm.com>
Subject os-windows/3037: can't get "Premature end of script headers" error to go away
Date Mon, 21 Sep 1998 17:27:43 GMT

>Number:         3037
>Category:       os-windows
>Synopsis:       can't get "Premature end of script headers" error to go away
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Sep 21 10:30:01 PDT 1998
>Originator:     plantz@fgm.com
>Release:        1.3.1
Windows NT
I've tried following your suggestions about the common error "Premature end of script
headers" to go away, but I'm still getting the error. ?What am I doing wrong?. I have
included the error and the script I'm running.

Mon Sep 21 10:13:18 1998] [error] Premature end of script headers: c:/program files/apache

#! F:/PERL/5.005/bin/MSWin32-x86-object/perl.exe
	local ($oldbar) = $|;
	$cfh	= select (STDOUT);
	@| = 1;
	print "Content-type: text/plain";
	print "\n\n";
	print "Hello World\n";
	$| = $oldbar;
	select ($cfh);



[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