[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting internal server error when I run a simple CGI script


Hi,
     I am trying to run a simple Perl CGI script and I get the following error..Can anyone help me on this
 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, suppressed 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.

 

my perl script contains

#!/usr/bin/perl

print "Content-type: text/html\r\n\r\n";
print "<HTML>\n";
print "<HEAD><TITLE>Hello World!</TITLE></HEAD>\n";
print "<BODY>\n";
print "<H2>Hello World!</H2>\n";
print "</BODY>\n";
print "</HTML>\n";

 

 

Thanks

Deepak

 


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.