[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-users
Subject:    Re: [squid-users] %notes in error pages
From:       David Touzeau <david () articatech ! com>
Date:       2021-11-27 16:16:21
Message-ID: d74b8b55-0218-fac4-aac3-6fd1e994b51d () articatech ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi

Working like a charm !!!

Many thanks!!

Le 26/11/2021 à 17:43, Alex Rousskov a écrit  :
> 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 athttps://github.com/squid-cache/squid/commit/7e6eabb
>
>
> HTH,
>
> Alex.

[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#464646" bgcolor="#FFFFFF">
    <font face="Arial">Hi<br>
      <br>
      Working like a charm !!!<br>
      <br>
      Many thanks!!<br>
    </font><br>
    <div class="moz-cite-prefix">Le 26/11/2021 Ã  17:43, Alex Rousskov a
      écrit  :<br>
    </div>
    <blockquote type="cite"
      cite="mid:44c337d2-5a8d-18f4-f820-4a48d256668f@measurement-factory.com">
      <pre class="moz-quote-pre" wrap="">On 11/25/21 4:46 PM, David Touzeau wrote:

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">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 ?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
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 <a class="moz-txt-link-freetext" \
href="https://github.com/squid-cache/squid/commit/7e6eabb">https://github.com/squid-cache/squid/commit/7e6eabb</a>



HTH,

Alex.
</pre>
    </blockquote>
    <br>
  </body>
</html>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic