Frank Steinborn wrote:
Dear Squid-people,
I have a problem when using redirects. If redirect_program is disabled
and i go to a bogus url, the correct Errorpage from Squid shows up in
the browser. However, I am using clamscan and configured it to show a
Viruswarning-Page if something is found. That works well, except for
those cases where there is some other error (like the bogus URL
thing) - I won't see the real Squid Errorpage, instead I get the
Viruswarning one.
Any hints on that?
Thanks in advance,
Frank
I think this is a weirdness with the way squid allows deny_info to
override error pages.
I expect you will find the bogus-url deny is occuring after the point
where you set the deny_info page for clamsquid.
I found the solution to this was to explicitly reset the deny_info
destination after any custom changes like the one you have for clamsquid.
Amos