Sun Java System Web Proxy Server 4.0.3 2006Q2 Administration Guide

Configuring Routing for a Resource

ProcedureTo configure routing for a resource

Steps
  1. Access the Server Manager and click the Routing tab.

  2. Click the Set Routing Preferences link.

    The Set Routing Preferences page displays.

  3. Select the resource from the drop-down list or click the Regular Expression button, enter a regular expression, and clicking OK.

  4. Select the radio button for the type of routing you would like for the resource you are configuring.

    You can choose one of the following:

    • Derived Default Configuration. The proxy server uses a more general template (that is, one with a shorter, matching regular expression) to determine if it should use the remote server or another proxy. For example, if the proxy routes all http://.* requests to another proxy server and all http://www.* requests to the remote server, you could create a derived default configuration routing for http://www.example.* requests, which would then go directly to the remote server because of the setting for the http://www.* template.

    • Direct Connections. The request will always go directly to the remote server instead of through the proxy.

    • Route Through A SOCKS Server. The requests for the specified resource will be routed through a SOCKS server. If you choose this option, you need to specify the name (or IP address) and the port number of the SOCKS server that the proxy server will route through.

    • Route Through. Lets you specify whether you would like to route through a proxy array, ICP neighborhood, parent array, and/or proxy server. If you choose multiple routing methods here, the proxy will follow the hierarchy shown on the form (i.e. proxy array, redirect, ICP, parent array, another proxy). For more information on routing through a proxy server, see Chaining Proxy Servers.

      For information on routing through a SOCKS server, see Routing through a SOCKS Server. For information on routing through proxy arrays, parent arrays, or ICP neighborhoods, see Chapter 12, Caching.


    Note –

    To enable routing of connect requests on non-default ports (other than 443), you need to change the ppath parameter to connect://.* in the obj.conf file.


  5. Click OK.

  6. Click Restart Required.

    The Apply Changes page displays.

  7. Click the Restart Proxy Server button to apply the changes.