Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

Creating a Filter File of URLs

A filter file is a file that contains a list of URLs. The filter files that the proxy server uses are plain text files with lines of URLs in the following pattern:

protocol://host:port/path/filename

You can use regular expressions in each of the three sections: protocol, host:port, and path/filename. For example, if you want to create a URL pattern for all protocols going to the netscape.com domain, you’d have the following line in your file:

.*://.*\\.example\\.com/.*

This line works only if you do not specify a port number. For more information about regular expressions, see “Understanding Regular Expressions” in Chapter 16, Managing Templates and Resources.

If you want to create your own file without using the Server Manager, use the Server Manager pages to create an empty file, and then add your text in that file or replace the file with one containing the regular expressions.

ProcedureTo Create a Filter File

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

  2. Click the Restrict URL Filter Access link.

    The Restrict URL Filter Access page is displayed.

  3. Choose New Filter from the drop-down list next to the Create/Edit button.

  4. Type a name for the filter file in the text box to the right of the drop-down list and then click the Create/Edit button.

    The Filter Editor page is displayed.

  5. Use the Filter Content scrollable text box to type URLs and regular expressions of URLs.

    The Reset button clears all the text in this field.

    For more information on regular expressions, see “Understanding Regular Expressions” in Chapter 16, Managing Templates and Resources.

  6. Click OK.

    The proxy server creates the file and returns you to the Restrict URL Filter Access page. The filter file is created in the proxy-serverid/conf_bk directory.