[This is preliminary documentation and subject to change]

### HttpRedirect

This metabase property specifies the directory or URL to which a client is redirected when attempting to access a specific resource. There are two general forms that the value for this property can take.

The simple format is Destination,Flag, where Destination can specify either a URL or a virtual path to a file. Flag can have one of three values: EXACT_DESTINATION indicates that the value provided for Destination should be considered an absolute target location; CHILD_ONLY indicates that the value should be added to the beginning of the file name of the request to be redirected; and PERMANENT indicates that this redirection will be permanent for this resource.

The more complex form of specification for this property involves the use of wildcards. The format is *; Wildcard1; Destination1; Wildcard2; Destination2, Flag. Each Wildcard; Destination pair indicates that requests matching the wildcard are redirected to the specified destination. Flag can have the same values as the simple string format.

Attribute Name | Attribute Value
Data Type | STRING
Attributes | INHERIT
Default Value | null
MetaFlagsEx | CACHE_PROPERTY_MODIFIED
User Type | IIS_MD_UT_FILE
StartingNumber |
EndingNumber |
ID | 6011

### Access Locations

This property is accessible at the following locations:

Metabase Path | IIS Admin Object Type
/LM/W3SVC/2 | IIsWebServer
/LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer
/LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer
/LM/W3SVC | IIsWebService
/LM/W3SVC/1/ROOT | IIsWebVirtualDir
/LM/W3SVC/1/ROOT/_vti_bin | IIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISAdmin | IIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISHelp | IIsWebVirtualDir
/LM/W3SVC/1/ROOT/MSADC | IIsWebVirtualDir
/LM/W3SVC/1/ROOT/Scripts | IIsWebVirtualDir
/LM/W3SVC/2/ROOT | IIsWebVirtualDir
/LM/W3SVC/2/ROOT/IISAdmin | IIsWebVirtualDir

### IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier | MD_HTTP_REDIRECT
Data type | STRING
User type | IIS_MD_UT_FILE

© 1997-2001 Microsoft Corporation. All rights reserved.