How to customize the IIS error code Response message

Source: Internet
Author: User
Tags error code iis

One, custom IIS error code Response message

The site name here is: Open

Open IIS Manager, right-click the site you want to edit--properties, and pop up a dialog box.

Locate the Custom Errors tab

Select the HTTP error message editor you want to edit.

Attention:

Edit Custom Error Properties

Use this dialog box to edit the custom error message. Click the custom error message, and then click Edit.

Some errors cannot be customized to point to URLs, given security and other system conditions. For example, error 401.2 ("Unauthorized-due to server configuration, logon failure") does not allow custom error messages on URLs because the URL containing the custom error file may not be accessible if there is a server configuration.

Message type

From the Message Type list box, click the type of message you want to return to the client browser-the default value, file, or URL.

Default value

Click to return the default HTTP 1.1 error to the client browser. File allows you to map to a file by using a fully qualified file name to customize the error. "url" allows custom errors to be mapped to URLs. If the output type is a URL, the URL

Must exist on the local server. Click OK to save the selections you made.

File/url

Browse to or type the location of the file that is mapped to the custom error.

Browse

Click here to find directories and files.

  Second, screen script message

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

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.