[101513] in RedHat Linux List
RE: "POST TO /query.pl not supported"
daemon@ATHENA.MIT.EDU (Charles Galpin)
Fri Nov 27 00:38:26 1998
Date: Fri, 27 Nov 1998 00:35:12 -0500
From: Charles Galpin <cgalpin@lighthouse-software.com>
To: "redhat-list@redhat.com"@smtp3.erols.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
apahe has not been setup for cgi correctly
===== Original Message from redhat-list@redhat.com at 11/27/98 3:50 am
>Hello,
>I get error: "POST TO /query.pl not supported" when I launch
>"lynx://Localhost". and if I do "lynx://Localhost/cgi-bin/query.pl"
>I just get my query.pl file in text!
>
>Here's index.html file followed by my cgi script :
>><HTML><HEAD><TITLE>My Apache web server</TITLE></HEAD>
>><BODY>
>><P>
>><FORM METHOD="post" ACTION="http://Localhost/cgi-bin/query.pl">
>>Enter Username
>><INPUT TYPE="SUBMIT" NAME="USERNAME" SIZE="25" MAXLENGTH="50" VALUE="">
>></FORM></BODY></HTML>..
> And here's my cgi-script
>#!/usr/bin/perl
>require "cgi-lib.pl";
>
>print &PrintHeader;
>if (&ReadParse(*input)) {
> print "Thank you, $input{ USERNAME }, for submitting your
>comments.<br>\n";
>} else {
> print "An error occured parsing the form input.<br>\n";
>}
>
>BTW, cgi script is fine cause " perl -c query.pl" tells me Syntax OK!
>I also think that I do not have the cgi-perl lib, cause I have no CGI
>directory under /usr/lib/perl
>I also do not have any cgi.pm file. Is that possible that my problem has
>got to do with
>the cgi-perl lib??
>
>
>Thanks
>
>
>--
> 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.
-- Charles Galpin <cgalpin@lighthouse-software.com>
--
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.