共用方式為


HttpErrors

The HttpErrors property specifies the custom error string sent to clients in response to HTTP 1.1 errors. Each string in the list specifies the HTTP error code and subcode, indicates whether the handler will be a URL or a file, and specifies which URL or file the client will be sent. Each string can be in either format: a URL or a file.

To send a URL to the client, use HTTPErrorCode, HTTPErrorSubcode, URL, HandlerURL. To send a file, use HTTPErrorCode, HTTPErrorSubcode, FILE, Filename.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

MULTISZ

ABO Data Type

MULTISZ_METADATA

Schema Default

null

Internal Default

400,*,FILE,C:\Windows\help\iisHelp\common\400.htm 401,1,FILE,C:\Windows\help\iisHelp\common\401-1.htm 401,2,FILE,C:\Windows\help\iisHelp\common\401-2.htm 401,3,FILE,C:\Windows\help\iisHelp\common\401-3.htm 401,4,FILE,C:\Windows\help\iisHelp\common\401-4.htm 401,5,FILE,C:\Windows\help\iisHelp\common\401-5.htm 401,7,FILE,C:\Windows\help\iisHelp\common\401-1.htm 403,1,FILE,C:\Windows\help\iisHelp\common\403-1.htm 403,2,FILE,C:\Windows\help\iisHelp\common\403-2.htm 403,3,FILE,C:\Windows\help\iisHelp\common\403-3.htm 403,4,FILE,C:\Windows\help\iisHelp\common\403-4.htm 403,5,FILE,C:\Windows\help\iisHelp\common\403-5.htm 403,6,FILE,C:\Windows\help\iisHelp\common\403-6.htm 403,7,FILE,C:\Windows\help\iisHelp\common\403-7.htm 403,8,FILE,C:\Windows\help\iisHelp\common\403-8.htm 403,9,FILE,C:\Windows\help\iisHelp\common\403-9.htm 403,10,FILE,C:\Windows\help\iisHelp\common\403-10.htm 403,11,FILE,C:\Windows\help\iisHelp\common\403-11.htm 403,12,FILE,C:\Windows\help\iisHelp\common\403-12.htm 403,13,FILE,C:\Windows\help\iisHelp\common\403-13.htm 403,15,FILE,C:\Windows\help\iisHelp\common\403-15.htm 403,16,FILE,C:\Windows\help\iisHelp\common\403-16.htm 403,17,FILE,C:\Windows\help\iisHelp\common\403-17.htm 403,18,FILE,C:\Windows\help\iisHelp\common\403.htm 403,19,FILE,C:\Windows\help\iisHelp\common\403.htm 403,20,FILE,C:\Windows\help\iisHelp\common\403-20.htm 404,*,FILE,C:\Windows\help\iisHelp\common\404b.htm 404,2,FILE,C:\Windows\help\iisHelp\common\404b.htm 404,3,FILE,C:\Windows\help\iisHelp\common\404b.htm 405,*,FILE,C:\Windows\help\iisHelp\common\405.htm 406,*,FILE,C:\Windows\help\iisHelp\common\406.htm 407,*,FILE,C:\Windows\help\iisHelp\common\407.htm 412,*,FILE,C:\Windows\help\iisHelp\common\412.htm 414,*,FILE,C:\Windows\help\iisHelp\common\414.htm 415,*,FILE,C:\Windows\help\iisHelp\common\415.htm 500,12,FILE,C:\Windows\help\iisHelp\common\500-12.htm 500,13,FILE,C:\Windows\help\iisHelp\common\500-13.htm 500,15,FILE,C:\Windows\help\iisHelp\common\500-15.htm 500,16,FILE,C:\Windows\help\iisHelp\common\500.htm 500,17,FILE,C:\Windows\help\iisHelp\common\500.htm 500,18,FILE,C:\Windows\help\iisHelp\common\500.htm 500,19,FILE,C:\Windows\help\iisHelp\common\500.htm

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

6008

Friendly ID

MD_CUSTOM_ERROR

Property Attributes

INHERIT

User Type

IIS_MD_UT_FILE

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC/n/ROOT/file_name

/LM/W3SVC/n/ROOT/virtual_directory_name/file_name

IIsWebFile

/LM/W3SVC/n/ROOT/physical_directory_name

/LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

/LM/W3SVC/n/ROOT

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also