Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 1998 11:29:54 -0500
From:      "Ken Blundell" <ken@osicom.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   CGI Error
Message-ID:  <01bd3af8$1cb709e0$0667eccf@webcity.osicom.net>

next in thread | raw e-mail | index | archive | help
Hello again!
I have a strange error ;-)
Running FreeBSD 2.2.2
Perl 4.0
In my CGI scripts I need to call &ReadParse from cgi-lib.pl
but when I call &ReadParse or cgi-lib.pl I get an error
This is how I call the cgi-lib.pl:

do "cgi-lib.pl" || die "Fatal Error: Can't load CGI Library";

If I look in httpd-error.log I find this:

Fatal Error: Can't load CGI Library at /usr/local/www/cgi-bin/formproc.pl
line 2.
[Mon Feb 16 11:29:07 1998] access to /usr/local/www/cgi-bin/formproc.pl
failed for webcity.osicom.net, reason: Premature end of script headers

Any ideas anybody??
Thanks in advance............
Cheers,
    Ken


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bd3af8$1cb709e0$0667eccf>