Some of the common errors of HTTP Error 500 – Internal server error for suexec enabled server
Here are the resolution for some of the common errors of HTTP Error 500 – Internal server error for suexec enabled server
All we need to do is first check the error log # tail -f /usr/local/apache/logs/error_logs and assist as per
1) [2008-04-19 01:43:31]: error: directory is writable by others: (/home/user/public_html/)
This could be easily fixed by just changing the permissions of the file/directory in question. You can change the permissions by using the File Manager within cPanel, or an FTP client (for example Filezilla). The correct permissions are 755.
2) [2008-04-19 01:48:21]: error: file has no execute permission: (/home/user/public_html/)
In order to fix the issue, you should use your FTP client or the Filemanager within the cPanel and change the permissions of the file in question to 755.
3) [Thu Apr 19 01:47:38 2008][client 127.0.0.50] (13)Permission denied: /home/user/public_html unable to check.htaccess file, ensure it is readable
The error is caused by incorrect permissions of the .htaccess file. However, such error message could be invoked if the permissions for the folder are not the correct ones either. Please ensure that both folder and .htaccess file within are set with 755 permissions.
4) [Thu Apr 19 01:47:39 2008] [client 127.0.0.76] Premature end of script headers: /home/user/public_html
Such error message could be invoked by several reasons:
— The script requires more than the usual time to be processed and is being killed by our system. In order to ensure the stable performance of all other hosted accounts we have set the TimeOut for our webserver to 10 secs.
— There is an error within the programming code of the script in question. In this case it should be revised by a professional web developer who will be able to assist you further.