| How to define custom HTTP Messages |
|
|
| Web - Web Design |
|
One of the common messages users encounter while surfing the web is HTTP 404 error - The page cannot be found. This might happen when the web page has moved to a new location, web page is no longer available, or the user typed the wrong URL etc. Normally, the default browser page appears with the page not found message. A custom error message can also be setup that would present some options for the user and retain the user's interest in your website. The error can be from the client or server; client error messages are prefixed with 4xx (e.g. 404, 400, 403 etc) and server error messages are prefixed with 5xx (e.g. 500, 501, 502 etc). This article outlines the client side error messages and specifically 404 errors. Options
The above list is by no means exhaustive; you can be as creative as you like. How to create a custom error page
Here is an example of error404.htm. As explained in the earlier section, you can have any verbiage here as you think fit. The requested page is not available. ReferPages.com is ever changing. We have redesigned our website and in the process of mapping the old site to the new one. While you are here, take a moment to browse the website by starting at our Home Page. The cause of this error has been noted and we would update our site at the earliest. Common HTTP Error Codes 401 - Unauthorized: This happens when you do not have permission to view a page using the credentials supplied i.e. page is password protected. Common reason is entering wrong username/password. 403 - Forbidden: This denotes that you do not have permission to access the file/directory. The file or directory is not set to be 'Public' 404 - Not Found: This denotes that the file is not available on the server. This happens in cases such as, file moved to a different location, file removed, user typed in the wrong URL etc.
Set as favorite
Bookmark
Email This
Hits: 7549 Trackback(0)
Comments
(0)
|
| Last Updated on Saturday, 03 November 2007 09:59 |
Syndicate
now browsing!
We have 43 guests onlineTraining
| UPK TrainingUPK Developer Training Course Description Overview Understanding Developer menu and toolbar itemsSetting Developer PreferencesManaging FoldersManaging DocumentsCreating Views + Full Article |
| More on Training |
Main Menu
Featured
| Lorem IpsumLorem ipsum or Lipsum acts as a placeholder for text or graphics in the print and publishing industry. Lipsum is just scrambled text intended to make the reader focus on the layout and design without... + Full Article |
| More Featured Articles |



