Oracle iPlanet Web Proxy Server 4.0.14 Configuration File Reference

Parameters

The following table describes parameters for the set-origin-server function.

Table 5–140 set-origin-server Parameters

Parameter  

Description  

server 

URL of an origin server. If multiple server parameters are given, the proxy server will distribute load among the specified origin servers. 

sticky-cookie 

(Optional) Name of a cookie that, when present in a response, will cause subsequent requests to "stick" to that origin server. The default is JSESSIONID.

sticky-param 

(Optional) Name of a URI parameter to inspect for route information. When the URI parameter is present in a request URI and its value contains a colon, ’:’, followed by a route ID, the request will "stick" to the origin server identified by that route ID. The default is jsessionid.

route-hdr 

(Optional) Name of the HTTP request header used to communicate route IDs to origin servers. set-origin-server associates each origin server named by a server parameter with a unique route ID. Origin servers may encode this route ID in the URI parameter named by the sticky-param parameter to cause subsequent requests to "stick" to them. The default is Proxy-jroute.

route-cookie 

(Optional) Name of the cookie generated by the proxy server when it encounters a sticky-cookie cookie in a response. The route-cookie cookie stores a route ID that enables the proxy server to direct subsequent requests back to the same origin server. The default is JROUTE.

rewrite-host 

(Optional) Boolean that indicates whether the Host HTTP request header is rewritten to match the host specified by the server parameter. The default is false, meaning the Host header is not rewritten.

rewrite-location 

(Optional) Boolean that indicates whether Location HTTP response headers that match the server parameter should be rewritten. The default is true, meaning matching Location headers are rewritten.

rewrite-content-location 

(Optional) Boolean that indicates whether Content-location HTTP response headers that match the server parameter should be rewritten. The default is true, meaning matching Content-location headers are rewritten.

rewrite-headername 

(Optional) Boolean that indicates whether headername HTTP response headers that match the server parameter should be rewritten, where headername is a user-defined header name. With the exception of the Location and Content-location headers, the default is false, meaning the headername header is not rewritten.