Hi, I'm new on the site and trying to kickstart my first Perl script. It's really basic, just to see that things are working, but I can't get it to work - I keep getting HTML error 500 "Internal Server Error" for about 4 days already. Here's the script (located at public_html/cgi-bin/test.pl):
#!/usr/bin/perl
print "Hello from test.pl";
Can't get must simpler than this, but it doesn't work.. I went over forum messages and tried another version, which also doesn't work:
#!/usr/bin/perl
print "content-type: text/html\n\n";
print "<html><body>Hello from test.pl</body></html>";
Permissions are set as follows: public_html: 750 (it was setup like this - I didn't change it) public_html/cgi-bin: 755 public_html/cgi-bin/test.pl: 755 Am I doing something wrong? EDIT: The way I'm trying to access the script from a browser is: http://dyskiver.heliohost.org/cgi-bin/test.pl