develooper Front page | perl.beginners | Postings from April 2002

RE: error log message

From:
Mat Harrison
Date:
April 26, 2002 06:48
Subject:
RE: error log message
Message ID:
GCEKIBMFLMFBOMGKMEFAMECICAAA.mat.harris@genestate.com
sorry, if anyone has replied to this post could they please forward them to
me again if it isn't too much trouble as my email server shut down overnight
for some reason.

-----Original Message-----
From: Mat Harrison [mailto:mat.harris@genestate.com]
Sent: Thursday, April 25, 2002 11:56 PM
To: BeginnersPerl Mailing List
Subject: error log message


what does this mean in my apache error log? i get it A LOT. someone said
that it was something to do with windows/linux line ending compatibility
probs.

<log snippet>

[Thu Apr 25 23:48:59 2002] [error] (2)No such file or directory: exec of
/web/cgi-bin/genestate/check_login.cgi failed
[Thu Apr 25 23:48:59 2002] [error] [client 192.168.0.1] Premature end of
script headers: /web/cgi-bin/genestate/check_login.cgi

</log snippet>

now the script that is being executed cannot have sent a premature end of
script header, have a look at the WHOLE of the script:

<script snippet>

#!/usr/bin/perl

use CGI qw/:standard/;

$url = "http://www.perl.com/CPAN/";
print "Location: $url\n\n";
exit;

</script snippet>

what is goin on? it isn't jsut my web server that gives me this, but also
all three of my apache dev servers and an IIS 5.0 dev server on win2k

--
Matthew Harrison
Webmaster
www.genestate.com
mat.harris@genestate.com


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org






nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About