Re: [squid-users] Http status 200 on deny_info?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 02 Sep 2011 18:25:07 +1200

On 02/09/11 09:29, Nils Hügelmann wrote:
> in the config the change message for 3.2:
>
> "Support the full range of 200-599 HTTP status codes. 3xx status only
> available when redirecting to a URI. Other status only available when
> supplying an error template body."
>
> but actually it doesn't accept 200 as http return code.
>
> deny_info 200:okbody url_selfcheck
>
> -> "FATAL: Bungled squid.conf"
>
> I have a scenario where i would like to return status 200 together with
> a predefined "error" message file for a http client. Should/will this
> work or not?

It should work for Squid-3.2.0.5 and later. Does the file "okbody" exist
in the error templates?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.15
   Beta testers wanted for 3.2.0.11
Received on Fri Sep 02 2011 - 06:25:12 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 02 2011 - 12:00:02 MDT