www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Sangiuliano <ti...@lucent.com>
Subject os-windows/1695: CGI Scripts will not run
Date Mon, 19 Jan 1998 15:22:03 GMT

>Number:         1695
>Category:       os-windows
>Synopsis:       CGI Scripts will not run
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jan 19 07:30:00 PST 1998
>Originator:     tiger@lucent.com
>Release:        1.3 beta
Windows 95, Apache 1.3 beta, perl version 5.004 build 315
I am attempting to run a PERL script called test.cgi. I am getting on my Netscape 3.04 window-

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your

in error_log, this comes up each time I run the script..

[Mon Jan 19 08:19:13 1998] [error] Premature end of script headers: c:/apache/cgi-bin/test1.cgi

  Here is the Script in it's entirety..
print <<END_of_Multiline_Text;
Content-type: text/html

<html><head><title>Hello World</title></head>
<body><font size=7 color=red>HELLO WORLD


   I cannot Figure out the trouble, and I have read the FAQ from APACHE and from
PERL. This all runs fine from the command line. Am I just being stupid???


No. Sorry.
[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. ]

View raw message