Справочник Пользователя для Blue Coat Systems Time Clock Proxy SG
ProxySG Content Policy Language Guide
302
ALL Statements
An ALL statement is a line beginning with the keyword ALL, followed by zero or more conditions and
property settings. There are two conditions available in an ALL statement:
property settings. There are two conditions available in an ALL statement:
acl=
and
protocol=.
The
ALL statement acts as a match of first resort, before any filters are matched. An ALL statement has the
following general syntax:
following general syntax:
ALL [acl=expression] [protocol=identifier] [property=value] ...
where
•
acl=expression
—An optional
acl=
condition expression. For more information, see
cache
yes | no
When set to no, do not cache the object. When set to yes, cache
certain objects that would not normally be cached. For more
information, see "force_cache( )" on page 180.
certain objects that would not normally be cached. For more
information, see "force_cache( )" on page 180.
case_insensitive
yes | no
When set to yes, match URLs without regard to case-sensitivity. By
default, all URLs are matched in a case-sensitive manner. This filter
should be set to match URLs served by operating systems such as
Windows, which is case-insensitive.
default, all URLs are matched in a case-sensitive manner. This filter
should be set to match URLs served by operating systems such as
Windows, which is case-insensitive.
If case-insensitivity is to be used with a regular expression, you must
use (?i) to start the expression to be evaluated.
use (?i) to start the expression to be evaluated.
Note: In CPL, url= conditions have an optional .case_sensitive
modifier.
modifier.
direct
yes | no
When set to yes, do not forward requests to a parent proxy or
SOCKS server. This property only applies when the device is
configured to forward requests.
SOCKS server. This property only applies when the device is
configured to forward requests.
label
label_name
Invokes a labeled definition. Acceptable characters are:
[a-zA-Z][a-zA-Z0-9]*
[a-zA-Z][a-zA-Z0-9]*
Note: In CPL, use the action( ) property. Label( ) is deprecated.
prefetch
yes | no
When set to yes, forces pipelining for an object. Set to no to prevent
the object from being pipelined. The default value is yes.
the object from being pipelined. The default value is yes.
Note: In CPL, use the synonym pipeline( ) property.
Prefetch( )
Prefetch( )
is deprecated.
proxy_authentication yes | no
When set to no, bypasses authentication for the URLs specified.
Note: In CPL, use the authenticate( ) property.
Proxy_authentication( )
Proxy_authentication( )
is deprecated.
refresh
yes | no
When set to no, do not refresh the object if it is cached.
service
yes | no
When set to no, deny service to the URL.
Note: In CPL, use allow and deny. Service( ) is deprecated.
ttl
seconds
Sets the expiration time of a URL or object.
Notes:
• The advertisement property overrides the TTL.
• The HTTP command-line option "Force explicit
expirations: Never serve after"
must be enabled. If
disabled, the CacheOS probabilistic refresh overrides the TTL
value.
value.
Table F.1: Properties available in CacheOS 4.x filter files