Jump to content

[Solved] Cgi And Perl Scripts Returnss 500 Error


mrj

Recommended Posts

Hi,

I am learning perl. I created a hello world example file called "test.pl" and the URL is: http://netrix.ml/cgi-bin/test.pl

When I visit this page via browser it returns 500 error. I'd chmoded it to 755. But still not worked. The test.pl contains following code:

#!/usr/bin/perl

 

print "content-type: text/html \n\n";

 

print "Hello, Perl!";

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...