Symptoms
When browsing to a Perl/CGI script, you encounter an internal server error.
Description
The error occurs when the script has one or more errors that need to be corrected.
Workaround
- Access the server's command line via SSH or "Terminal" in cPanel.
- Open the script in your preferred text editor.
- Ensure the path to the Perl interpreter is correct.
#!/usr/bin/perl
- Ensure that the
Content-type
header is present.print "Content-type: text/html\n\n";
- Save the changes and exit the text editor.
Comments
0 comments
Article is closed for comments.