LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PERL not working - CGI? (https://www.linuxquestions.org/questions/linux-newbie-8/perl-not-working-cgi-206293/)

redhatbeatswin 07-17-2004 01:18 PM

PERL not working - CGI?
 
Hello,

Apache is working fine right now, and I have a test PHP site up.

I want to run a PERL script, however when i use the POST method in an html file, all that is returned is the formmail.pl script in TEXT form on the next page.

I've tried chmod 755 formmail.pl ; not the answer

I dont have a cgi-bin folder either-- Whats up with that?

I've tried installing CPAN using perl -eshell -CPAN

then Bundle::CPAN

it looks like it installed ok.

I'm lost and dont know whats up.

Thanks!

Mike

redhatbeatswin 07-17-2004 01:22 PM

by the way im on rh 9
 
by the way im on rh 9

Komakino 07-17-2004 01:41 PM

Create a cgi-bin (are you sure it's not parallel to the current directory? i.e. another sub directory of the parent directory?) and drop the file in there.

redhatbeatswin 07-17-2004 05:17 PM

fixed
 
turns out my httpd.conf file was pointing to a different directory.

i created a cgi-bin folder and pointed the conf file there.

thanks!!


All times are GMT -5. The time now is 12:44 PM.