04-07-2011, 07:30 PM #1Web Hosting Master
- Join Date
- Apr 2009
How can I edit the Internal Server Error page?
Anyway to edit this page to put in a custom message?
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
04-08-2011, 08:34 AM #2Retired Moderator
- Join Date
- Feb 2005
The usual method is to add an ErrorDocument statement to .htaccess or virtualhost config
ErrorDocument 500 /my_error_page.html
ErrorDocument 500 http://example.com/server_wide_error_page.html
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Last edited by foobic; 04-08-2011 at 08:38 AM.Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
By wolfstad in forum Programming DiscussionReplies: 8Last Post: 04-04-2007, 01:27 AM
By forsan in forum Hosting Security and TechnologyReplies: 2Last Post: 04-04-2006, 01:37 PM
By ahmedaf in forum Hosting Security and TechnologyReplies: 1Last Post: 08-08-2005, 04:39 AM
By ahmedaf in forum Hosting Security and TechnologyReplies: 5Last Post: 12-06-2004, 02:29 PM
By Sattam in forum Hosting Security and TechnologyReplies: 14Last Post: 04-01-2004, 10:46 AM