I had made on e perl file to learn and run the file on the capnel

My perl file is as following

#!usr/bin/perl

print "Content-type:text/html \n\n";

print "\n";

print "hello vishal first perl script \n";

print "\n";

also put this file in the public_html/cgi-bin/ folder and also to the public_html folder also:

tried to access this file with the

http://domain.com/cgi-bin/test.pl

http://domain.com/test.pl

but got the error:

Internal Server Error

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

Please contact the server administrator, [email protected] 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.

Please help me to solvce my problem and make me aware to run this file in the my website

More Vishal A Mevada's questions See All
Similar questions and discussions