I have placed a simple Perl cgi script in the cgi-bin folder to test and it does not work. I double checked to see if the Apache cgi handler has been added and it is. The file attributes were also set to 755.
The Perl code is a simple hello world script:
I get this error message when I try to run the script:Code:#!/usr/bin/perl print "<h1>Hello world!</h1>";
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.
I tried looking at the server logs but there were no errors related to the cgi script that was logged.
Please help. Thank you in advance.