Saturday, 3 October 2009

How to deal with error - 500 Internal Server Error

This is for server administrator or who have root permissions to the server. The easy way to deal with 500 internal server error is to check the httpd logs; which can be found at /etc/httpd/logs/error_log

# tail -f /etc/httpd/logs/error_log

tail -f will add the modification to the file if even if the file is open. Now access the URL that is throwing the 500 internal server error. You should see more explanatory error in the error log on what is bothering it.

Note: In most case it is something in .htaccess that is bothering but whatsoever you get more information from the file

No comments:

Post a Comment