Blue Coat Systems Time Clock Proxy SG Manuale Utente

Pagina di 314
ProxySG Content Policy Language Guide
178
exception( )
Selects a built-in or user-defined response to be returned to the user.
The 
exception( )
 property is overridden by 
allow
 or 
deny( )
. To set an exception that cannot be 
overridden by allow, use 
force_exception( )
.
The identity of the exception being returned can be tested in an 
<Exception>
 layer using 
exception.id=.
Note:
When the exception response selected would have a Content-Length of 512 or fewer bytes, 
Internet Explorer may substitute “friendly” error messages. To prevent this behaviour use 
exception.autopad(yes)
.
Syntax
exception(exception_iddetails)
where:
exception_id
—Either the name of a built-in exception (refer to Chapter 14: “Advanced Policy” 
in the ProxySG Configuration and Management Guide for the list of built-in exceptions), or a name of 
the form 
user_defined.exception_id 
that
 
refers to a user-defined exception page.
details
—A text string that is substituted for 
$(exception.details)
 within the selected 
exception.
Layer and Transaction Notes
Use  in 
<Cache>
<Proxy>
, and 
<Admin>
 layers.
Applies to all transactions.
See Also
Conditions: 
exception.id=
Properties:
 allow
deny( )
deny.unauthorized( )
exception.autopad( )
force_deny( )
force_exception( )