aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish64/varnish.inc
diff options
context:
space:
mode:
authorJorge Lustosa <jorgelustosa@gmail.com>2011-10-25 18:43:50 -0200
committerJorge Lustosa <jorgelustosa@gmail.com>2011-10-25 18:43:50 -0200
commit1a96f97960658df70a0a22ed1afc3aa2b9879f8e (patch)
tree7aaa7b336672b29ec8d43ccdb246b44703f31904 /config/varnish64/varnish.inc
parentdbbc2d6e11a770fa786e4bd3a26fb4c6c6684f76 (diff)
downloadpfsense-packages-1a96f97960658df70a0a22ed1afc3aa2b9879f8e.tar.gz
pfsense-packages-1a96f97960658df70a0a22ed1afc3aa2b9879f8e.tar.bz2
pfsense-packages-1a96f97960658df70a0a22ed1afc3aa2b9879f8e.zip
fix 401 authentication method , important if you use http basic authentication
Diffstat (limited to 'config/varnish64/varnish.inc')
-rw-r--r--config/varnish64/varnish.inc2
1 files changed, 1 insertions, 1 deletions
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;
}