Blue Coat Systems Time Clock Proxy SG Manual de usuario Pagina 134

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 314
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 133
ProxySG Content Policy Language Guide
134
time=
Tests if the time of day is in the specified range or an exact match. The current time is determined by
the ProxySG appliance’s configured clock and time zone by default, although the UTC time zone can
be specified by using the form
time.utc=. The numeric pattern used to test the time condition can
contain no whitespace.
Syntax
time[.utc]={[start_time]..[end_time]|exact_time}
where:
start_time—Four digits (nnnn) in 24-hour time format representing the start of a time range; for
example,
0900 specifies 9:00 a.m. If left blank, midnight (0000) is assumed.
end_time—Four digits (nnnn) in 24-hour time format representing the end of a time range; for
example,
1700 specifies 5:00 p.m. If left blank, 2359 (11:59 p.m.) is assumed.
exact_time—Four digits (nnnn) in 24-hour time format representing an exact time.
Note: To test against an inverted range, such as a range that crosses from one day into the next, the
following shorthand expression is available. While
time=(..0600|1900..) specifies
midnight to 6 a.m. and 7 p.m. to midnight, the policy language also recognizes
time=1900..0600 as equivalent.
Layer and Transaction Notes
Use in all layers.
Using time-related conditions to control caching behavior in a
<Cache> layer may cause thrashing
of the cached objects.
Applies to all transactions.
Examples
; Tests for 3 a.m. to 1 p.m. UTC.
time.utc=0300..1300
; Allow access to a particular site only during 9 a.m.
; to noon UTC (presented in two forms).
; Restrict form:
<proxy>
deny url.host=special_event.com time=!0900..1200
; Grant form:
<proxy>
allow url.host=special_event.com time=0900..1200
Vista de pagina 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 313 314

Comentarios a estos manuales

Sin comentarios