How did I correct 500 Internel Server Error in my domain?
The article said "These errors can be sorted very easily by getting in to cPanel and by checking the error logs such error can be sorted." So I logged in to cPanel and access to Error Log section.After accessing Error log, I investigated it few minutes. Eureka... I FOUND THE REASON FOR 500 INTERNAL SERVER ERROR..! Look at the following error log entry.
[Sun Jul 15 05:33:10 2012] [error] [client xx.xxx.xxx.xxx] SoftException in Application.cpp:xxx: Directory "/home/user/public_html" is writeable by groupMy root directory is writable by group, nothing beyond that. My hosting provider suggest me to change file permission to 755. I already knew well about altering file permissions.
I accessed to file manager; opened Home directory, checked file permissions. It was obvious, file permissions of public_html was 777.
How did I change the file permissions?
Simply select the folder, I this case, it was public_html, and selected Change permissions from the toolbarHmm... my public_html folder was writable by group and file permission was 777!
I disabled permission to write for both Group and World and saved it.
Got it! My website is started working properly!
Note:
The main reason for 500 Internal Server Error is altering file permission of ftp folders (specially in public_html folder) Sometimes it can me lover than 755 (e.g. not readable by group). Check file permission of public_html folder. If it is other than 755, change it to 755 to correct the 500 Internat Server Error. It just worked for me...



No comments:
Post a Comment