When I tried accessing my "hello world" perl script (hello.cgi) via the browser, the browser gives the 500 Internal Server Error.
However, when I changed the file ending of that same file to hello.pl, I can access it just fine via the browser. I also tried troubleshooting this with a python script (hello.py) in the same directory and it works just fine.
I've changed the httpd.conf with the following:
AddHandler cgi-script .cgi .py .pl
AllowOverride None SetHandler cgi-script Options +ExecCGI Order allow,deny Allow from all
I've looked everywhere to resolve this problem, but nothing seems to work. Please help.