Hey David,
It works only with ICAP or ECAP but I was talking about ICAP. I wrote an example golang service at: https://github.com/elico/bgu-icap-example It is licensed with 3-clause BSD so you can use it freely. It’s pretty simple to understand the code and I have used it in more then one production environment in the past years. The above is modifying the response of a page while you can just push into the page a template. Just so you would see that the production is using one that is similar to the next one: https://github.com/elico/squidblocker-icap-server/blob/master/sb_icap.go Eliezer ---- Eliezer Croitoru NgTech, Tech Support Mobile: +972-5-28704261 Email: ngtech1...@gmail.com <mailto:ngtech1...@gmail.com> From: squid-users <squid-users-boun...@lists.squid-cache.org> On Behalf Of David Touzeau Sent: Monday, January 31, 2022 10:54 To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] squid url_rewrite_program how to return a kind of TCP reset Is adapted_http_access supporting url_rewrite_program ? It seems only supports ecap/icap Le 31/01/2022 à 03:52, Amos Jeffries a écrit : On 31/01/22 13:20, David Touzeau wrote: But it makes 2 connections to the squid for just stopping queries. It seems not really optimized. The joys of using URL modification to decide security access. I notice that for several reasons i cannot switch to an external_acl :( Is there a way / idea ? <http://www.squid-cache.org/Doc/config/adapted_http_access/> <http://www.squid-cache.org/Doc/config/adapted_http_access/> Amos _______________________________________________ squid-users mailing list squid-users@lists.squid-cache.org <mailto:squid-users@lists.squid-cache.org> http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users