Re: [squid-users] Bypass ICAP

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 18 Sep 2007 04:37:02 +0200

On mån, 2007-09-17 at 18:41 -0300, Thiago Cruz wrote:
> Hi all,
>
> Is it possible to bypass the ICAP when the acl
> "sites_no_authentication" match? I'd like to do this because this ACL
> don't require user authentication and the icap server only accept
> request that send user authentication.
>
> acl sites_no_authentication url_regex "/etc/squid/sites_no_auth"
> http_access allow sites_no_authentication
> always_direct allow sites_no_authentication
>
> 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 filtro_url service_1 service_2

icap_access filtro_url deny sites_no_authentication

> icap_access filtro_url allow all

Regards
Henrik

Received on Mon Sep 17 2007 - 20:37:10 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT