How to configure error handling for ICAP request and response services.
search cancel

How to configure error handling for ICAP request and response services.

book

Article ID: 166354

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

You want configure you ProxySG in order to deny or allow all requests or responses if a communication error occurs with the ICAP server.

Resolution

To configure error handling, select one of the following two options:

- Deny the client request. This is the default and recommended by Blue Coat. All the requests or responses will be denied if a communication error will occur. This option is also known as failed_closed.

- Continue without further ICAP request processing. This option will allow requests or responses to go through without ICAP scanning, if a communication error will occur. Be advised that this presents a content integrity risk. This option is also known as fail_open

 

You can configure these option from your VPM editing an "ICAP Request (or Response) Service Object"  in a Web Content layer:

 

Or via CPL with the following code in case of a fail closed configuration:

<Cache>
    request.icap_service(proxyavrequest,fail_closed) request.icap_service.secure_connection(auto) ;

 

or this one in case of a fail open configuration:

<Cache>
   request.icap_service(proxyavrequest,fail_open) request.icap_service.secure_connection(auto) ;