[squid-users] %notes in error pages

Alex Rousskov rousskov at measurement-factory.com
Fri Nov 26 16:43:34 UTC 2021


On 11/25/21 4:46 PM, David Touzeau wrote:

> We need to add %note added from external helper using a deny_info and
> specific squid error page.
> 
> tried with %o or %m without success
> 
> Is there a token to build an error page with an external acl helper output ?

Use @Squid{%code} syntax to add logformat %code (including %note) to
your error page. The feature is available in v5 and beyond. More details
may be available at https://github.com/squid-cache/squid/commit/7e6eabb


HTH,

Alex.


More information about the squid-users mailing list