Search squid archive

Re: bypass ICAP

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

 



here is the answer

a) put some URLs in bypass.txt u want to bypass ICAP
b) and change the squid.conf like

acl bypass url_regex "/etc/squid/bypass.txt"
icap_enable on
icap_send_client_ip on
icap_send_auth_user on
icap_auth_scheme Local://%u
icap_service service_1 reqmod_precache 0 icap://127.0.0.1:1344/wwreqmod
icap_service service_2 respmod_precache 0 icap://127.0.0.1:1344/wwrespmod
icap_class class_1 service_1 service_2
icap_access class_1 deny bypass
icap_access class_1 allow all

cheers
doehni




fw@xxxxxxxxxxxxxxxxx wrote:
hi list,
I got the latest stable version 2.5STABLE13
with the ICAP patch running.

How to bypass ICAP for some URL´s?
Can I do this with acls?

like that:
acl foobar_server url_regex foobar\.com
icap_access class_1 allow !foobar_server all

I want to pass all the requests to the
ICAP server except some urls.

I know there is a bypass feature implemented but
this only works when the ICAP server is not reachable.


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

  Powered by Linux