Monday, December 10, 2012

How to catch error 500 apache server errors on your site

The net is filled with shitty solutions . Sorry i could not figure out how to use any . call me dumb

Goto your cpanel
goto error handline
open error 500 . this will create a file 500.shtml
click the buttons above the file
and it will automatically put the code below into the file
then open your htaccess and then add the error code

ErrorDocument 500 /500.shtml

now when your server gets a 500 it with throw up some more useful stuff then the normal shitty error message





No comments:

Post a Comment