Search squid archive

Re: cicap lines in squid.conf

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

 



On 9/29/21 8:46 AM, robert k Wild wrote:
> hi all,
> 
> going by this link
> 
> https://wiki.squid-cache.org/ConfigExamples/ContentAdaptation/C-ICAP
> 
> theres two icap configuration options, what one should i use

The answer depends on what you are using c-icap for:

* If you want to adapt (including inspect) HTTP requests, then use a
reqmod_precache vectoring point.

* If you want to adapt (including inspect) HTTP responses, then use a
respmod_precache vectoring point.

* If you want to adapt (including inspect) all HTTP messages, then use
both vectoring points.


HTH,

Alex.


> as atm i have this in my squid.conf
> 
> #ICAP
> icap_enable on
> adaptation_uses_indirect_client on
> icap_send_client_ip on
> icap_send_client_username on
> icap_client_username_header X-Authenticated-User
> icap_service service_req reqmod_precache bypass=0 icap://127.0.0.1:1344/squidclamav 
> adaptation_access service_req allow all
> icap_service service_resp respmod_precache bypass=0 icap://127.0.0.1:1344/squidclamav
> adaptation_access service_resp allow all

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users



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

  Powered by Linux