Sun Java System Web Proxy Server 4.0.3 2006Q2 Administration Guide

ProcedureTo restrict access to the proxy based on the client’s web browser

Steps
  1. Access the Server Manager, and click the Filters tab.

  2. Click the Set User-Agent Restriction link.

    The Set User-Agent Restriction page displays.

  3. Select the resource from the drop-down list or type a regular expression that matches the user-agent string for the browsers you want the Proxy Server to support.

    If you want to specify more than one client, enclose the regular expression in parentheses and use the | character to separate the multiple entries. For more information on regular expressions, see “Understanding Regular Expressions” in Chapter 16, Managing Templates and Resources.

  4. Check the Allow Only User-Agents Matching option.

  5. Click OK.

  6. Click Restart Required.

    The Apply Changes page displays.

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