Hello Jatin,

May be this (for ICAP not for eCap) describes your issue - 
http://docs.diladele.com/faq/squid.html#why-i-see-cannot-connect-to-site-using-https-browser-message-instead-of-usual-site-is-blocked

Raf
________________________________________
From: Jatin Bhasin <jbhasi...@gmail.com>
Sent: Thursday, August 21, 2014 12:47 PM
To: squid-users@squid-cache.org
Subject: [squid-users] blockVirgin Works for CONNECT but Custom Response does 
not work

When I see a CONNECT request in my eCap adapter then if I call
function blockVirgin then I see a squid ACCESS DENIED page which is
good.

But if instead of calling blockVirgin if I generate a CUSTOM response
message saying "YOU ARE NOT AUTHORISED TO VIEW THIS PAGE" then build
response based on FAQ https://answers.launchpad.net/ecap/+faq/2516
then it fails.

Although the same code (request satisfaction) works if I build a
custom response for a GET request.

Please suggest how can I achieve CUSTOM response for a CONNECT.

Reply via email to