IIS settings file app_offline.htm site maintenance

Source: Internet
Author: User
At the ASP. NET 2.0 site root directory, all requests for. aspx will be shifted to app_offline.htm as long as the app_offline.htm file exists. and the browser's address bar shows the URL of the requested. aspx.

So when our site needs maintenance, just copy the app_offline.htm to the site root directory. vs release will automatically generate App_offline.htm file considerations:
(1) app_offline.htm cannot be less than 512 bytes.
(2) IIS cannot Stop.
(3) only requests to the. aspx file are automatically forwarded to the app_offline.htm file, and if the. htm file is requested, it will not go to app_offline.htm (3) app_offline.htm file name is case-insensitive

IIS settings file app_offline.htm site maintenance

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.