Sun Java System Web Proxy Server 4.0.2 2005Q4 Administration Guide

Setting the Network Connectivity Mode

You can connect or disconnect the proxy server computer from the network. This feature makes it convenient to install the proxy on a portable computer that you can use for demonstrations.

When the proxy is disconnected from the network, documents are returned directly from the cache—the proxy can’t do up-to-date checks, so the documents are retrieved very quickly (the documents might not be up to date; see Chapter 12, Caching for more information on caching).

Also, if you are not connected to a network, connections never hang because the proxy server is aware that there is no network and never tries to connect to a remote server. You can use this no-network setting when the network is down but the proxy server computer is running.


Note –

Keep in mind that running the proxy disconnected from the network means that you will eventually be accessing stale data from the cache. Also, running without the network makes the proxy security features unnecessary.


Proxy Server offers four network connectivity modes:

ProcedureTo change the running mode for the proxy server

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

  2. Click the Set Connectivity Mode link. The Set Connectivity Mode page displays.

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

  4. Select the mode you want.

  5. Click OK.

  6. Click Restart Required. The Apply Changes page displays.

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