Sun Java System Web Proxy Server 4.0.11 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

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

  2. Click the Redirect URLs link. The Redirect URLs page is displayed.

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

  4. Type 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 type a URL prefix.

    • If you choose to use a fixed URL, select the radio button next to the Fixed URL field and type a fixed URL.

  5. Click OK.

  6. Click Restart Required.

    The Apply Changes page is displayed.

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