Create a custom Fault Tolerance page for the website

Source: Internet
Author: User

Due to frequent page updates and column adjustments, the website may frequently see "dead links"-that is, pages that cannot be accessed. In this case, the browser will receive a page titled "The webpage cannot be found" and report an error message "HTTP 404-the file cannot be found. Anyone who has been online must have seen the following information on this famous page:

"The webpage cannot be found.
The webpage you are searching for may have been deleted, renamed, or temporarily unavailable.
Please try the following operations ......"

This page is not beautiful, and it is not annoying to watch it for a long time. In fact, we can use custom pages to replace the error report page of the Web server. This not only maintains the relatively complete interface style of the website, but also highlights error information, it also seems that our website has a certain technical level.

Customizing this page is actually very simple. Taking iis5.0/6.0 as an example, you only need to modify the 404b.htm file in the [winnt/Windows]/help/IISHelp/common folder of Windows Server 2000/2003! It should be noted that once this page is modified, all the websites set in IIS on this machine will be directed to this page if there is a blank link. Because this page is a public "System File", the link displayed on this page should use an absolute link. If there are images on the page, you can create an images folder in the [winnt/Windows]/help/IISHelp/common folder and place them here. The statement for displaying images is: .

Now many websites have done this. Custom pages often contain some advertisement information, and the page views are large. Watch out for the effects of the custom Fault Tolerance page, and you can access the http://www.why100000.com (100,000 why) website, such as typing a http://www.why100000.com/abc to see the fault tolerance page.

author: Zhang Qing
QQ: 9365822
MSN: zhangking@hotmail.com
personal homepage: http://www.why100000.com ("100,000 why" Computer Learning Network)
other websites: http://sogo99.com (sogou 99 Network Portal)
2004.10.18

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.