From 1a96f97960658df70a0a22ed1afc3aa2b9879f8e Mon Sep 17 00:00:00 2001 From: Jorge Lustosa Date: Tue, 25 Oct 2011 18:43:50 -0200 Subject: fix 401 authentication method , important if you use http basic authentication --- config/varnish64/varnish.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/varnish64/varnish.inc b/config/varnish64/varnish.inc index abf07018..7b514780 100644 --- a/config/varnish64/varnish.inc +++ b/config/varnish64/varnish.inc @@ -596,7 +596,7 @@ sub vcl_fetch { ## the request will be error'ed. max_restarts defaults to 4. This prevents ## an eternal loop in the event that, e.g., the object does not exist at all. if (beresp.status != 200 && beresp.status != 403 && beresp.status != 404 && - beresp.status != 303 && beresp.status != 302 && beresp.status != 301) { + beresp.status != 303 && beresp.status != 302 && beresp.status != 301 && beresp.status != 401 ) { {$vcl_saint_mode}restart; } -- cgit v1.2.3