Squid Error page based on data provided by eCAP

Asked by Christof Gerber

I would like to inlude data provided by an eCAP adapter into a squid error-page.

Setup:

HTTP responses are going from Squid to the eCAP adapter. The adapter analyses the responses and decided if this response must be blocked. If this is the case the adapter calls the "hostx->blockVirgin()" function to inform Squid. Squid then triggers the configured error-page.

So far this all works. However, in addition I would like to display some information/description about why the "block-action" was triggered on the error-page displayed by squid. I know that with "Adapter::Xaction::visitEachOption()" one can provide "key-value" pairs to squid which can be then logged to the access.log. Is there a way that Squid can also access this information (key-value pair) to display it as part of the error page?

Question information

Language:
English Edit question
Status:
Solved
For:
eCAP Edit question
Assignee:
No assignee Edit question
Solved by:
Christof Gerber
Solved:
Last query:
Last reply:
Revision history for this message
Christof Gerber (sitschi) said :
#1