[squid-users] Display eCAP meta-information on Squid error-page

Christof Gerber christof.gerber1 at gmail.com
Thu Sep 28 05:52:00 UTC 2017

Hi Squid users

I have a question concerning eCAP implementation in Squid 3.5.

My goal is to display data which is provided by an eCAP adapter on a Squid
error-page. My primary goal is to achieve this with the eCAP transaction
meta-information which is provided by the eCAP adapter with

I know that with "adapt::<last_h" (1) this meta-information (options) can
be logged to access.log. Is it somehow possible that Squid access these
key-value pairs and hands it over to the Error page? Similar to "deny_info"
tags (2) which ensures the availability of the URL (%U) etc. in the html
code of the error-page.

The approach that the eCAP adapter would create the error-page and send it
back to squid as response body instead of calling blockVirgin() (3) is
known by me but this would only be the second choice if the approach in
question is not possible.

(1) http://www.squid-cache.org/Doc/config/logformat/
(2) http://www.squid-cache.org/Doc/config/deny_info/
(3) https://answers.launchpad.net/ecap/+faq/2516

Thanks in advance for your help.


Christof Gerber
Email: christof.gerber1 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170928/a255abd8/attachment.html>

More information about the squid-users mailing list