Mailing List Archive

Checking http response codes.
Hi,

Sorry this message got sent whith the wrong subject :/

On Wed, May 30, 2007 at 09:03:45AM +0200, Thomas Westlund wrote:
> Hi,
>
> If I would like to do a check based on the response code from the backend how can I do this in VCL
>
> I would like to be able to not cache 404's or to set the timeout to a very low number for 404's.
>
> I have checked the vcl man page, but I'm unable to find which statement to use for the if clause.
>
> --
>
> Thomas Westlund
> Aftenposten AS, UNIX/nettverksavd.
> Postboks 1, 0051 Oslo
> Tlf: +47 98 20 30 33
> Fax: +47 22 86 40 74

--

Thomas Westlund
Aftenposten AS, UNIX/nettverksavd.
Postboks 1, 0051 Oslo
Tlf: +47 98 20 30 33
Fax: +47 22 86 40 74