Oracle iPlanet Web Proxy Server 4.0.14 Configuration File Reference

Parameters

The following table describes parameters for the map function.

Table 5–44 map Parameters

Parameter  

Description  

from

The prefix to be mapped to the mirror site. 

to

The mirror site prefix. 

name

(optional) the object from which to derive the configuration for this mirror site. 

rewrite-host

(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 may want to specify rewrite-host="false". The default is true, meaning that the Host HTTP request header is rewritten.

trailing-slash-redirect

(optional) Indicates whether a trailing slash redirect should be enabled or disabled. This is enabled by default. If disabled, when a client request's URL matches the value of the "from" parameter and does not have a trailing slash, the Proxy will not respond with a redirect with the trailing slash added. 

Example


# Map site http://home.netscape.com/ to mirror site http://mirror.com
NameTrans fn=map  from="http://home.netscape.com" to="http://mirror.com"