Hey Guys!
I've been trying to write a perl CGI script but I end up getting a 500 Internal Server Error. Please Help.
My index.pl
=====================
#!/usr/bin/perl
print "Content-type: text/html\r\n\r\n";
print "Hello, World.";
=====================
My .htaccess
=====================
Options +ExecCGI
AddHandler cgi-script .cgi .pl
DirectoryIndex index.pl
=====================
All files including the directory in which the files reside in has 644 permissions. And I still get a 500 Internal Server Error.
Please let me know what I have to do get the perl script working.
Regards,
Shain
I've been trying to write a perl CGI script but I end up getting a 500 Internal Server Error. Please Help.
My index.pl
=====================
#!/usr/bin/perl
print "Content-type: text/html\r\n\r\n";
print "Hello, World.";
=====================
My .htaccess
=====================
Options +ExecCGI
AddHandler cgi-script .cgi .pl
DirectoryIndex index.pl
=====================
All files including the directory in which the files reside in has 644 permissions. And I still get a 500 Internal Server Error.
Please let me know what I have to do get the perl script working.
Regards,
Shain