Cgin-bin Internal Server Error

SYSTEM INFORMATION
debian 10 REQUIRED
last REQUIRED

Hi, i wanted to try perl scripts, so i have placed a test.pl into cgi-bin. While i try to get the page it gives me a internal server error the script is Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

link: https://ser.elgenero.ai/cgi-bin/test.cgi

#!/perl-5.20.2/perl

print “Content-type: text/html\n\n”;

print “Hello World”;

You’ve gotta look in the log as the error suggests.

1 Like

Thanks Solution: #!/perl-5.20.2/perl -w

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.