The following table describes parameters for the redirect function.
Table 7–112 redirect Parameters
Parameter |
Description |
---|---|
(Optional) Specifies the prefix of the requested URI to match. If from is not specified, it defaults to "". |
|
(Optional) Specifies a complete URL to return to the client. If you use this parameter, do not use url-prefix. |
|
(Optional) The new URL prefix to return to the client. The from prefix is replaced by this URL prefix. If you use this parameter, do not use url. |
|
(Optional) Flag that instructs the server to util_uri_escape the URL before sending it. The value can be yes or no. The default is yes. For more information about util_uri_escape, see the Sun Java System Web Server 7.0 Update 1 NSAPI Developer’s Guide. |
|
status |
(Optional) Customizes the HTTP status code. If status is not specified, it defaults to 302. |
type |
(Optional) Common to all Output-class functions. Specifies a wildcard pattern of MIME types for which this function will be executed. |
method |
(Optional) Common to all Output-class functions. Specifies a wildcard pattern of HTTP methods for which this function will be executed. Common HTTP methods are GET, HEAD, and POST. |
query |
(Optional) Common to all Output-class functions. Specifies a wildcard pattern of query strings for which this function will be executed. |
bucket |
(Optional) Common to all obj.conf functions. Adds a bucket to monitor performance. For more information, see The bucket Parameter. |