LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   can't get perl script to run from www (https://www.linuxquestions.org/questions/linux-general-1/cant-get-perl-script-to-run-from-www-1527/)

victorus 03-27-2001 05:32 PM

I can run a SSI script .cgi file but a .pl file with a VERY simple perl script gives problem. Try it at:
assi-cad.com/cgi-bin/first.pl

I have enabled the .pl suffix in the ADDHANDLER portion of the httpd.conf and the permissions are 755 on the file. The error_log gives problems with the permissions:

[Tue Mar 27 16:13:28 2001] [error] (13)Permission denied: exec of /var/www/cgi-bin/first.pl failed
[Tue Mar 27 16:13:28 2001] [error] [client 216.119.232.110] Premature end of script headers: /var/www/cgi-bin/first.pl

Any ideas?


All times are GMT -5. The time now is 09:06 AM.