Blue Coat Systems Proxy SG Time Clock User Manual


 
ProxySG Content Policy Language Guide
308
For the CPL compiler, the correct filter will be selected at run time based on the ACL if the filters
are distinguished by having different ACL conditions.
Converting Filter-Style Files to CPL Syntax
When converting your filter-style files, do not insert snippets of CPL syntax to take advantage of the
new policy features, while leaving the bulk of the file unchanged. CPL and the CacheOS 4.x filter
language have different orders of evaluation. If you insert CPL syntax into a filter file, then the CPL
compiler assumes it is processing a standard policy file and switches to using the CPL order of
evaluation.
To avoid this problem, convert your filter-style file to CPL syntax before modifying it to take
advantage of CPL features. Do this using the following procedure.
To convert a filter-style file to use CPL syntax:
1. Load the filter file into the ProxySG as the local policy file.
2. Issue the
view policy command using the Management Console, or issue the show policy CLI
command. This displays all of the loaded policy in CPL syntax: from the central, local, and VPM
policy files.
3. Copy the section of the output of the
show policy command corresponding to the filter file that
you loaded into the local policy file.