Sun Java System Web Proxy Server 4.0.3 2006Q2 Administration Guide

Redirecting URLs

You can configure the proxy server to return a redirected URL to the client instead of getting and returning the document. With redirection, the client is aware that the URL originally requested has been redirected to a different URL. The client usually requests the redirected URL immediately. Netscape Navigator automatically requests the redirected URL—the user does not have to explicitly request the document a second time.

URL redirection is useful when you want to deny access to an area because you can redirect the user to a URL that explains why access was denied.

ProcedureTo redirect one or more URLs

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

  2. Click the Redirect URLs ink. The Redirect URLs page displays.

  3. Enter a source URL that is a URL prefix.

  4. Enter a URL to redirect to. This URL can either be a URL prefix or a fixed URL.

    If you choose to use a URL prefix as the URL to redirect to, select the radio button next to the URL prefix field and enter a URL prefix. If you choose to use a fixed URL, select the radio button next to the Fixed URL field and enter a fixed URL.

  5. Click OK.

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

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