A resource might be a single URL, a group of URLs that have something in common, or an entire protocol. This means that you can configure the proxy server to handle requests for various URLs differently. Any URL pattern you can create with regular expressions can be included in a template. Table 3.1 lists the default resources and provides some ideas for other templates. Understanding Regular Expressions Netscape Proxy Server allows you to use regular expressions to identify resources.
Regular expressions specify a pattern of character strings.
In the proxy server, regular expressions are used to find matching patterns in URLs. The documents could be of any protocol and could have any file extension. Table 3.2 contains regular expressions and their corresponding meanings. Table 3.2 Regular expressions and their meanings Expression Meaning . Matches any single character except a newline.