Perl in RH9
Hi All,
I have installed RH9 from these disks several times and keep ending up with the same problem.
RH9 is the only OS on my system.
Perl scripts do not work from the WebServer.
They will work from the command line if I include the "perl" or "./" prefix, i.e."perl /var/www/cgi-bin/testPerl.pl". They won't work if I run them by just their name without the prefix, which should also work.
Permissions on the files are 755.
The first line of each file is "#!/usr/bin/perl". That is the correct directory to perl when I run "whereis perl". I also tried "#!/usr/bin/env perl" without sucess.
If anyone has any ideas I would sincerely appreciate it.
Thanks,
Jeff Daniels
|