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

Christof Gerber christof.gerber1 at gmail.com
Wed Oct 4 11:08:28 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 Adapter::Xaction::visitEachOption().

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.

References:
(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.
Best

Christof

-- 
Christof Gerber
Email: christof.gerber1 at gmail.com


More information about the squid-users mailing list