AboutHostingCustomersSupportAdmin ToolsContact Us

Zymurgy Support: Custom Error Messages

Support: Custom Error Messages


Not currently customized
Instead of the default error messages apache gives out, you can define your own custom error pages. You can find full details on the apache web site here.

First, create a page for your custom error message. In our example, we'll provide a custom error page for the 404 page not found error. The error page could be named anything, but we'll call ours 404.html, and we'll place it in a folder called error.

Now we need to tell apache about our custom error page. We can configure parts of apache using .htaccess files. It may seem odd to start a file name with a dot, but this is common in UNIX systems, and is used to hide files from normal folder listings. You may already have a .htaccess file (for example Frontpage creates one automatically). If you have one, just edit that. Otherwise, create it and add this line:

ErrorDocument 404 /error/404.html

Now try to bring up a file on your site that doesn't exist, and you should see your custom error page!

Other errors you might consider handling include:

400 Bad Request 
401 Unauthorized 
402 Payment Required
403 Forbidden
404 Not Found 
405 Method Not Allowed
406 Not Acceptable 
407 Proxy Authentication Required 
408 Request Time-Out 
409 Conflict 
410 Gone 
411 Length Required 
412 Precondition Failed 
413 Request Entity Too Large 
414 Request-URL Too Large 
415 Unsupported Media Type 
500 Server Error 
501 Not Implemented 
502 Bad Gateway 
503 Out of Resources 
504 Gateway Time-Out 
505 HTTP Version not supported 

 
Home | About | Hosting | Customers | Support | Admin Tools | Contact Us
© Copyright 2003. Zymurgy Systems Inc and its licensors. All rights reserved.