[102172] in RedHat Linux List
Re: Internal HTTP ERROR.
daemon@ATHENA.MIT.EDU (hUnTeR)
Tue Dec 1 18:32:47 1998
Date: Tue, 01 Dec 1998 18:30:23 -0500
From: hUnTeR <hunter@esprit.net>
To: redhat-list@redhat.com, aromes@microtec.net
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
aromes@microtec.net wrote:
>
> Hi,
> Given my little following HTML sample and its related cgi-script, could
> anyone tell me why I still get either the output of the text of my
> cgi-script(when I do lynx http://localhost/cgi-bin/mailer.pl) or the error
> "Internal HTTP ERROR. Config problems" or there no mailer.pl file found on
> this server. I ve check all configs for my apache config files,
> made sure my cgi0scripts were in right path, made them executables..
Upon command line execution of your mailer.pl script i received the
following errors:
/home/httpd/cgi-bin/ ./mailer.pl
Bareword found where operator expected at ./mailer.pl line 8, near
"/usr/lib"
(Missing operator before lib?)
syntax error at ./mailer.pl line 8, near "/usr/lib"
String found where operator expected at ./mailer.pl line 8, near "$to")
|| die"
(Missing operator before ") || die "?)
String found where operator expected at ./mailer.pl line 10, near "print
MAIL ""
(Might be a runaway multi-line "" string starting on line 8)
(Missing semicolon on previous line?)
Bareword found where operator expected at ./mailer.pl line 10, near
"print MAIL"
(Do you need to predeclare print?)
Execution of ./mailer.pl aborted due to compilation errors.
You should be able to run this script once properly done at the command
prompt.
Still looking at it, but thats a first glance.
HTH
--
Michael B. Weiner
Systems Administrator/Partner
The UserFriendly Network (UFN)
--
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\
* * * CHOICE OF A GNU GENERATION * * *
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.5 for non-commercial use
Comment: Public key available at http://pgpkeys.mit.edu
and http://www.userfriendly.net/pgp_key.asc
iQA/AwUBNQreROCbl6l4t9akEQJRagCfTDSULZQS/Iv0dFWdFMJa2F0N4vkAoKhh
zh5u4pHu75zfXwXK9PNU2Y5u
=kO+N
-----END PGP SIGNATURE-----
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.