From owner-freebsd-questions Mon Feb 16 08:30:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA06155 for freebsd-questions-outgoing; Mon, 16 Feb 1998 08:30:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.osicom.net (osicom.net [207.236.103.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA06075 for ; Mon, 16 Feb 1998 08:30:03 -0800 (PST) (envelope-from ken@osicom.net) Received: from webcity.osicom.net (webcity.osicom.net [207.236.103.6]) by ns1.osicom.net (8.8.7/8.8.5) with SMTP id LAA29721 for ; Mon, 16 Feb 1998 11:32:34 -0500 (EST) From: "Ken Blundell" To: Subject: CGI Error Date: Mon, 16 Feb 1998 11:29:54 -0500 Message-ID: <01bd3af8$1cb709e0$0667eccf@webcity.osicom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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