Oracle iPlanet Web Proxy Server 4.0.14 Configuration File Reference

server

The server function identifies and configures the local proxy in an ICP neighborhood.

Syntax

server bind_address=IP-address mcast=IP-address num_servers=number 
	icp_port=port-number default_route=name 
default_route_port=port number 
no_hit_behavior=fastest_parent|default timeout=seconds

Note –

The above text should be on one line in the icp.conf file.


Parameters

bind_address specifies the IP address to which the server will bind. For machines with more than one IP address, this parameter can be used to determine which address the ICP server will bind to.

mcast the multicast address to which the neighbor listens. A multicast address is an IP address to which multiple servers can listen. Using a multicast address enables a proxy to send one query to the network that all neighbors who are listening to that multicast address can see. The process eliminates the need to send a query to each neighbor separately.

If both a multicast address and bind address are specified for the neighbor, the neighbor uses the bind address to communicate with other neighbors. If neither a bind address nor a multicast address is specified, the communication subsystem will decide which address to use to send the data.

num_servers specifies the number of processes that will service ICP requests.

icp_port specifies the port number to which the server will listen.

default_route tells the proxy server where to route a request when none of the neighboring caches respond. If default_route and default_route_port are set to origin, the proxy server will route defaulted requests to the origin server. The meaning of default_route is different depending on the value of no_hit_behavior. If no_hit_behavior is set to default, the default_route is used when none of the proxy array members return a hit. If no_hit_behavior is set to fastest_parent, the default_route value is used only if no parent responds.

default_route_port specifies the port number of the machine specified as the default_route. If default_route and default_route_port are set to origin, the proxy server will route defaulted requests to the origin server.

timeout specifies the maximum number of milliseconds the proxy will wait for an ICP response.

no_hit_behavior specifies the proxy’s behavior whenever none of the neighbors returns a hit for the requested document. Possible values are:

Example

server bind_address=198.4.66.78 mcast=no num_servers=5 icp_port=5151 
	default_route=proxy1 default_route_port=8080 no_hit_behavior=fastest_parent 
	timeout=2000

Note –

The above text should be on one line in the icp.conf file.