Re: [squid-users] squid+c-icap+check_url FAILED

From: Christos Tsantilas <christos_at_chtsanti.net>
Date: Sun, 15 May 2011 10:25:14 +0300

Hi,

   The url_check c-icap service supports only reqmod ICAP requests
(Request modification requests). You must not using it with the
respmod_* squid options.

You should remove the following line (and the related icap_access and
icap_class lines):
       icap_service service_resp respmod_precache 1
icap://127.0.0.1:1344/url_check_module

Regards,
     Christos

On 05/14/2011 07:38 PM, Zhou, Zhibin wrote:
> Hi Folks,
> I am trying to configure the squid3.1.x with c-icap and modules on
> ubuntu 10.10. Things went well for the srv_clamav. However, when we
> test the srv_check_url module, ICAP protocol error as shown:
>
> The following error was encountered while trying to retrieve the URL:
> =================================================
> http://google.com/
>
> ICAP protocol error.
>
> The system returned: [No Error]
>
> This means that some aspect of the ICAP communication failed.
>
>..................
>
> On the squid, I have the following configuration options:
> =======================================
> icap_enable on
> icap_send_client_ip on
> icap_send_client_username on
> icap_client_username_encode off
> icap_client_username_header X-Authenticated-User
> icap_preview_enable on
> icap_preview_size 1024
> icap_service service_req reqmod_precache 1
> icap://127.0.0.1:1344/url_check_module
> icap_service service_resp respmod_precache 1
> icap://127.0.0.1:1344/url_check_module
> icap_class class_avreq service_req
> icap_class class_avresp service_resp
> icap_access class_avreq allow all
> icap_access class_avresp allow all
> ========================================
>
> Do anyone have any clue on this problem?
>
> Thanks!
>
Received on Sun May 15 2011 - 07:25:17 MDT

This archive was generated by hypermail 2.2.0 : Sun May 15 2011 - 12:00:02 MDT