ProxySG Content Policy Language Guide
Filter-Part Components
The filter part of a filter file can contain the following:
•Filters that are not part of a section
•Sections
•ALL statements
•default_filter_properties statements
•
Filters that are not part of a section must occur before the first section. The
default_filter_properties statements must be written after the last filter or section. The ALL statements and ACL definitions can be written anywhere before the define_actions line. All of these components are optional.
Filters
In CPL, the concept of a filter has been replaced by the concept of a rule.
A filter is a line that includes, at a minimum, a URL pattern. The filter is considered to be a match if the requested URL matches the URL pattern. It can also include a tag specifying whether the match will be
url_pattern [case_insensitive = { yes no }] [acl=expression] [property=value]
...
url_pattern
where url_pattern is either a
case_insensitive= {yesno}
where case_insensitive is an optional property that can specify whether URLs matches are
acl=expression
where acl= can include an IP address or subnet, or the label of a define acl definition block. For more information, see "Conditions" on page 301.
property=value
where property= is an optional property setting. For a list of properties available in filter files, see "Properties" on page 301.
The following are differences with CPL:
•Property settings have the form property=value in filter files, instead of the CPL form property(value).
300