<div dir="ltr"><div style="font-size:12.8px"><span style="color:rgb(51,51,51);font-family:Ubuntu,"Bitstream Vera Sans","DejaVu Sans",Tahoma,sans-serif;font-size:12px">Hi Squid users</span></div><span style="color:rgb(51,51,51);font-family:Ubuntu,"Bitstream Vera Sans","DejaVu Sans",Tahoma,sans-serif;font-size:12px"><div><br></div><div>I have a question concerning eCAP implementation in Squid 3.5.</div><div><br></div>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::<wbr>visitEachOption().</span><div style="font-size:12.8px"><font color="#333333" face="Ubuntu, Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span style="font-size:12px"><br></span></font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><font color="#333333"><span style="font-size:12px">I know that with "</span></font><span style="color:rgb(30,30,30);font-size:12px">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.</span></font></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">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.</div><div style="font-size:12.8px"><font color="#1e1e1e" face="arial, helvetica, sans-serif"><span style="font-size:12px"><br></span></font></div><div style="font-size:12.8px"><font color="#1e1e1e" face="arial, helvetica, sans-serif"><span style="font-size:12px">References:</span></font></div><div style="font-size:12.8px"><font color="#1e1e1e" face="arial, helvetica, sans-serif"><span style="font-size:12px">(1) <a href="http://www.squid-cache">http://www.squid-cache</a>.<wbr>org/Doc/config/logformat/</span></font></div><div style="font-size:12.8px"><font color="#1e1e1e" face="arial, helvetica, sans-serif"><span style="font-size:12px">(2) <a href="http://www.squid-cache.org/">http://www.squid-cache.org/</a><wbr>Doc/config/deny_info/</span></font></div><div><font color="#1e1e1e" face="arial, helvetica, sans-serif"><span style="font-size:12px">(3) <a href="https://answers.launchpad.net/ecap/+faq/2516">https://answers.launchpad.net/ecap/+faq/2516</a></span><br></font><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks in advance for your help.</div><div style="font-size:12.8px">Best</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Christof</div></div><div><br></div>-- <br><div class="gmail_signature"><font size="1">Christof Gerber</font><div><div><div><font size="1">Email: <a href="mailto:christof.gerber1@gmail.com">christof.gerber1@gmail.com</a></font></div></div></div></div>
</div>