Perl or C.G.I. help on webserver?

  • Thread starter Thread starter David D
  • Start date Start date
D

David D

Guest
A 500 error just means "Something went wrong". It doesn't give any details, since you don't want to bother the visitors to the website with them.

You need to look in your server's error log to see what the real error is.

http://www.perlmonks.org/?node=CGI%20Help%20Guide#D might be helpful.
 
when I try to open this file on my webserver, it gives me a 500 error

#!/usr/local/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n";

How do I run CGI scripts on my server? It's just a hello world test script. I'm new to cgi/perl.
 
Back
Top