are you running mod_perl or perl cgi?

 1) make sure that perl is running from the CL.

 2) test your script from the CL.

 3) make sure that the .pl extension is set to execute the script (which should be in the apache directives ).

 4) double check you followed all the instructions correctly :)

 -jmz

On Sat, Aug 9, 2008 at 5:04 PM, keith smith <klsmith2020@yahoo.com> wrote:

Hi,

I am running Fedora 5.  PHP and MySql are working fine however I cannot run a test PERL program.

I changed the file permissions to 755 and did a "which perl"  which shows /usr/bin/perl.

The test file:

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, world!\n";

When I call it up in a browser I see the source.  I used the extension of cgi and pl.

Could the PERL not be working?  How can I test that PERL is functioning?

Thanks in advance for your help!

------------------------
Keith Smith



---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



--
"Never take counsel of your fears." - Andrew Jackson

- http://www.joshuazeidner.com/