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

error log message

Mat Harrison
April 25, 2002 15:56
error log message
Message ID:
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

<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] 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>


use CGI qw/:standard/;

$url = "";
print "Location: $url\n\n";

</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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About