[101516] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: "POST TO /query.pl not supported"

daemon@ATHENA.MIT.EDU (Charles Galpin)
Fri Nov 27 00:48:51 1998

Date: Fri, 27 Nov 1998 00:45:28 -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



sorry about the previous post.  Apache is not configured properly to run cgi 
scripts. As I said before, you will need a line like the following in 
srm.conf to tell apache that the directory contains scripts:

ScriptAlias /cgi-bin/ /home/aromes/public_html/cgi-bin

and restart the server.

===== 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!
>
<snip>
>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
>

yes. you need this.

you will get a different error for this once you get apache configured 
properly - so configure apache first.

 It's been ages since I downloaded cgi-lib.pl so I can't tell you where to 
get it. There are more recent packages that do the same thing.

if you execute query.pl from the command line, you should get a runtime 
error, complaining that cgi-lib.pl could not be found,  until you get 
cgi-lib.pl


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


home help back first fref pref prev next nref lref last post