A 500 Internal Server Error is also known as a generic server error. It means that there was some problem on the server, but that the server isn’t able to give any more details about what specifically went wrong.
The 500 Internal Server Error message could be seen in any number of ways because each website is allowed to customize the message. Here are several ways that you might see the HTTP 500 error:
- 500 Internal Server Error
- HTTP 500 – Internal Server Error
- Internal Server Error
- HTTP 500 Internal Error
- 500 Error
- HTTP Error 500
There are a number of common causes for a 500 Internal Server Error to display in a web browser. Here are some possibilities.
Most of the time, a 500 error is caused by incorrect permissions in a file or a folder. Luckily, if this is the case, then the fix is usually simple - it’s an incorrect permission set on a PHP and CGI script. These should usually be set at 0775.
Syntax or coding errors in your CGI/Perl script.
This is an error in a CGI script that caused it to fail or output an error message before it started producing valid HTML. It happens all the time if you have a syntax error in one of your Perl CGI scripts.
- When editing your CGI script, use a plain text editor. DO NOT use Microsoft Word as it doesn’t save files in pure ASCII text format. Use Notepad only.
- Upload your CGI scripts in ASCII mode into the cgi-bin directory.
- Set the file permissions on the CGI script file and directories to be chmod 755. If you use an FTP program to transfer files, right-click on the file and select change file attributes.
- Double-check that the Perl modules you require for your script are supported.
Error with an .htaccess file
If you are using an .htaccess on your site it could be interfering with the site page. Double check the .htaccess configuration. Any syntax errors will cause a 500 Internal Server Error message to be displayed instead of your website.