J
John D. Sanders
I have an Apache Web Server running and I want to use Perl as my CGI
language.
I have Matt's FormMail script running properly but when I try to
implement my own scripts I get an error.
The script I am using for testing:
#! /usr/bin/perl
use warnings;
use strict;
print "content-type: text/html\n\n";
print "<html><head><title> Current Date and Time </title>";
print "</head>\n<body>";
print scalar( localtime() );
print "</body></html>";
The error I get when executing www.lovinthelord.org/cgi-bin/testing.pl:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, (e-mail address removed) 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.
Please any help would be appreciated.
Thanks
John
www.lovinthelord.org
language.
I have Matt's FormMail script running properly but when I try to
implement my own scripts I get an error.
The script I am using for testing:
#! /usr/bin/perl
use warnings;
use strict;
print "content-type: text/html\n\n";
print "<html><head><title> Current Date and Time </title>";
print "</head>\n<body>";
print scalar( localtime() );
print "</body></html>";
The error I get when executing www.lovinthelord.org/cgi-bin/testing.pl:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, (e-mail address removed) 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.
Please any help would be appreciated.
Thanks
John
www.lovinthelord.org