diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2011-10-25 13:45:59 -0700 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2011-10-25 13:45:59 -0700 |
commit | 0cd5565edcacffad49dcdfa48788e456fe57447b (patch) | |
tree | 7aaa7b336672b29ec8d43ccdb246b44703f31904 /config/varnish64 | |
parent | dbbc2d6e11a770fa786e4bd3a26fb4c6c6684f76 (diff) | |
parent | 1a96f97960658df70a0a22ed1afc3aa2b9879f8e (diff) | |
download | pfsense-packages-0cd5565edcacffad49dcdfa48788e456fe57447b.tar.gz pfsense-packages-0cd5565edcacffad49dcdfa48788e456fe57447b.tar.bz2 pfsense-packages-0cd5565edcacffad49dcdfa48788e456fe57447b.zip |
Merge pull request #97 from jorgelustosa/patch-5
fix 401 authentication method , important if you use http basic authentic
Diffstat (limited to 'config/varnish64')
-rw-r--r-- | config/varnish64/varnish.inc | 2 |
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; } |