Instead of using multipleservices, could I use ICAP with cache_peer?
Something like this:
...
acl USERS external NTGroup @USERS
acl sites_1 url_regex "/etc/squid/sites"
http_access allow sites_1
http_access allow all USERS
http_access deny all
icp_access deny all
always_direct allow sites_1
never_direct allow all
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_1
icap_access filtro_url allow all
cache_peer 172.1.1.16 parent 8088 7 no-query no-delay no-digest default
When I use this configuration, Respmod doesn't work. I only can see
Reqmod at the track file.
Regards,
Thiago Cruz
On 9/21/07, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> On tor, 2007-09-20 at 18:39 -0300, Thiago Cruz wrote:
>
> > Have you tried a configuration like this? It seems that service_3 will
> > never be actived.
> >
> > 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_service service_3 respmod_precache 0 icap://172.1.1.16:1344/respmod
> >
> > icap_class filtro_url service_1 service_2 service_3
>
> Curretntly chaining of multipleservices at the same service point is not
> supported, which means you can at most have two icap services per
> request, one at reqmod_precache and one at respmod_precache.
>
> Regards
> Henrik
>
Received on Fri Sep 21 2007 - 09:55:18 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT