Search squid archive

RE: Problem accessing web with ICAP enabled.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ooops!

Sorry for the confusion Amos. 
Here are the lines as it appears in my squid.conf file

icap_enable on
icap_service service_1 respmod_precache 0
icap://10.217.65.62:1344/avscanresp
icap_class class_1 service_1
icap_access class_1 allow all

The browser hangs with this configuration. Is there anything additional
I need to do here?
I have installed Squid3.0 Stable 7 via the available binary package
(rpm).

Regards,
Shailesh

-----Original Message-----
From: Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx] 
Sent: Friday, December 12, 2008 7:19 PM
To: Shailesh Mishra
Cc: Christos Tsantilas; squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Problem accessing web with ICAP enabled.

You appear to have misunderstood Christos.
A he said...

  * You define a service_1
  * You permit access to class_1

But in the config you stated, never link the two.... so Squid has 
nothing to work with when checking who has access to the service.

If you still think this advice is wrong, please re-state ALL of your 
icap_* lines, exactly as they appear in squid.conf.

Amos

Shailesh Mishra wrote:
> Hi,
> 
> Can someone please throw some light to this issue?
> 
> Everything works fine with ICAP disabled ( commented in squid.conf
> file), as soon as it is turned on the browser remains in hung state.
> 
> Thanks in advance,
> Shailesh
> 
> -----Original Message-----
> From: Shailesh Mishra [mailto:shailesh_mishra@xxxxxxxxxxxx] 
> Sent: Wednesday, December 10, 2008 9:31 AM
> To: Shailesh Mishra; Christos Tsantilas
> Cc: squid-users@xxxxxxxxxxxxxxx
> Subject: RE:  Problem accessing web with ICAP enabled.
> 
> Hi,
> 
> While browsing through the bugzilla database I found a similar
reported
> problem where web browser is in hung state when ICAP is enabled.
> Any help here will be highly appreciated!
> 
> Regards,
> Shailesh
> 
> -----Original Message-----
> From: Shailesh Mishra 
> Sent: Saturday, December 06, 2008 3:13 PM
> To: Christos Tsantilas
> Cc: squid-users@xxxxxxxxxxxxxxx
> Subject: RE:  Problem accessing web with ICAP enabled.
> 
> Hi Christos,
> 
> I missed out on mentioning that part in my previous mail
> But " icap_access class_1 allow all" is already there in my squid
> configuration file.
> 
> JFYI, the browser does not respond and remains in hung state in this
> scenario.
> 
> Regards,
> Shailesh
> 
> -----Original Message-----
> From: Christos Tsantilas [mailto:christos@xxxxxxxxxxxx] 
> Sent: Saturday, December 06, 2008 1:57 AM
> To: Shailesh Mishra
> Cc: squid-users@xxxxxxxxxxxxxxx
> Subject: Re:  Problem accessing web with ICAP enabled.
> 
> Hi Shailesh,
> 
> Shailesh Mishra wrote:
>> Hi ,
>>
>> I have a SQUID 3.0 installation on Linux acting as a proxy.
Everything
>> was working fine but when I enabled the ICAP service I am unable to
>> access web pages.
>>
>> ICAP server here is a scanning software which is running fine and
> taking
>> request (checked manually w/o squid).
>>
>> My squid.conf file looks something like this :
>>
>>
>
------------------------------------------------------------------------
>> ---------------------------
>> icap_enable on
>> icap_service service_1 respmod_precache 0
>> icap://10.217.65.62:1344/avscanresp
>> icap_access class_1 allow all
>>
> 
> missing an icap_class configuration parameter eg:
> icap_class class_1 service_1
> 
> Regards,
>       Christos
>
------------------------------------------------------------------------
>> ---------------------------
>>
>> Am I missing something here?
>>
>> If I comment out the icap tags things work perfectly fine.
>>
>> Thanks in advance,
>> Shailesh 
>>


-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
   Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux