HttpRedirect Metabase Property (IIS 6.0)
The HttpRedirect 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.
Where Flag can have one of four 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.
PERMANENT indicates that this redirection is permanent for this resource.
TEMPORARY indicates that this redirection is temporary for this resource.
The more complex form 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.
Setting HttpRedirect at the site or service level has no affect.
XML Data Type
WMI Data Type
ADSI Data Type
ABO Data Type
ABO Metabase Identifier
You can configure this property at the following locations in the IIS metabase.
For general code examples, see Code Examples to Configure Metabase Properties.