If this is the wrong forum to post this, I apologize.
OK, I've got to be doing something really stupid and probably extremely obvious to everyone else. Please point out my stupid error(s)...........
Going to http://usafmars.helio-host.org/cgi-bin/HelloWorld.pl
produces:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@usafmars.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.#!/usr/bin/perl
---------------------------------------------------------------------------------------
The error log has these entries:
[Fri Oct 31 12:32:43 2008] [error] [client 69.179.109.186] File does not exist: /home/usafmars/public_html/500.shtml
[Fri Oct 31 12:31:57 2008] [error] [client 69.179.109.186] File does not exist: /home/usafmars/public_html/404.shtml
---------------------------------------------------------------------------------------
Here is the Perl program -- pretty simple, but only used for testing. it's in the cgi-bin folder and has protection set to 755. cPanel reprts HelloWorld.pl as an Application/pl
#!/usr/bin/perl
#
# Program to do the obvious
#
print "Context-type: text/html\n\n";
print 'Hello world.'; # Print a message