| To use your own error page you must first create the page
you want displayed. All error pages may be created through the
cpanel control panel. The cpanel control panel is located by
typing http://www.yourdomainname.com/cpanel, then logging in
with your user name and password.
The Error Documents you may customize along with a brief description
are:
- 400 - Bad request. This document is displayed when a visitor
requests a page that has been removed or the visitor mistyped
the URL extention.
- 401 - Authorization Required. This document is displayed
when a visitor supplies an incorrect username/password to
a restricted area of your web site.
- 403 - Forbidden. This document is displayed when a visitor
tries to access an area of your web site which you have specifically
forbidden access.
- 404 - File Not Found. This document is displayed when a
visitor requests a specific page and the page is no longer
available (renamed or deleted).
- 500 - Internal Server Error. This document is displayed
when an error occurs while running a script.
For a complete description of the ErrorDocument Directive
see http://www.apache.org/
For example, assuming a page called test.html does not exist
in your site, enter into your browsers address bar http://www.domainname.com/test.html.
Your new error page will be displayed.
I've created my error page as instructed, but it is
not displayed.
The Internet Explorer generic message is displayed instead
of my custom error page.
Microsoft assumes you would rather see their 404 message instead
of the 404 message designed by the web site owner. Internet
Explorer is currently shipping with this default. To change
the default setting:
- 1. Load Internet Explorer
- 2. On the menu bar choose Tools > Internet Options ...
- 3. Click on the Advanced tab.
- 4. Under the Browsing section; uncheck the box that says
'Show friendly HTTP error messages'
- 5. Click 'OK'
|