Previous Topic: Configure the Proxy Server and ICAP ClientNext Topic: Remote Data Manager


Sample ICAP Client Configuration File

The following is a sample ICAP Client Configuration file.

#Enable ICAP Integration
icap_enable on

#Preview ICAP configuration
icap_preview_enable off

#Set the default size of preview data to be sent to the ICAP server
icap_preview_size -1

#Enabling persistent connections from end user to ICAP Client
icap_persistent_connections on

# Send the end user IP to ICAP Server
icap_send_client_ip on

# Send the authenticated user name to ICAP Server
icap_send_client_username on

# Send the authenticated user name in X-header to ICAP Server
icap_client_username_header X-Authenticated-User

# Send the user name in base64 encoded form to ICAP Server
icap_client_username_encode on

#############integration with ICAP server - and IN and OUT#######
# To capture the http request
icap_service <s1> reqmod_precache icap://<ip address>:1344/reqmod

# To capture the http response
icap_service <s2> respmod_precache icap:// <ip address>:1344/respmod

# Set the adaptation services 
adaptation_service_set <c1> <s1>
adaptation_service_set <c2> <s2>

# Specify the access control list for monitoring protocol
acl HTTP proto HTTP

# Specify the access control list for monitoring protocol methods
acl GET method GET
acl POST method POST
acl PUT method PUT

## Specify the adaptation access (allow|deny) for monitoring methods
adaptation_access <c1> allow HTTP GET
adaptation_access <c1> allow HTTP POST
adaptation_access <c1> allow HTTP PUT

adaptation_access <c2> allow HTTP GET
adaptation_access <c2> allow HTTP POST
adaptation_access <c2> allow HTTP PUT