![]()
|
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:
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:
|
|
Home | About | Hosting | Customers | Support | Admin Tools | Contact Us © Copyright 2003. Zymurgy Systems Inc and its licensors. All rights reserved. |