The following table describes parameters for the map function.
Table 7–8 map Parameters
Parameter |
Description |
---|---|
from |
The URI prefix to map. The prefix should not contain trailing slashes. |
to |
The URL prefix to which the request should be mapped. The prefix should not contain trailing slashes. |
name |
(Optional) Specifies an additional named object in obj.conf. The directives of the named object will be applied to this request. |
(Optional) Indicates whether the Host HTTP request header is rewritten to match the host specified by the to parameter. In a reverse proxy configuration where the proxy server and origin server service the same set of virtual servers, you can specify rewrite-host="false". The default is true, indicating that the Host HTTP request header is rewritten. |
|
bucket |
(Optional) Common to all obj.conf functions. Adds a bucket to monitor performance. For more information, see The bucket Parameter. |