Search squid archive

howto define an custom error page, when icap server returns 403 HTTP Code ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've configured squid 3.1.16 to use the icap reqmod and my icap virus
scanner scans the trafic.

When my icap virusscanner founds a virus it returns an empty page with
HTTP 403 statuscode like (from wireshark):

--snip--
ICAP/1.0 403 Forbidden
Server: Avira-WebGate/3.2.0
ISTag: "03020000-08020686-070B1343"
Encapsulated: null-body=0
--snip--

I had an idea to use http_reply_access parameter to define an acl and
use deny_info for the error page, but I've no headerfield.

Does anybody know a solution to define an custom errorpage, when the
icapserver returns a 403 status code ?

Thank you very much.

-- 
Best regards

  Dieter Bloms

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux