aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish64
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2011-10-25 13:45:59 -0700
committerMarcello Coutinho <marcellocoutinho@gmail.com>2011-10-25 13:45:59 -0700
commit0cd5565edcacffad49dcdfa48788e456fe57447b (patch)
tree7aaa7b336672b29ec8d43ccdb246b44703f31904 /config/varnish64
parentdbbc2d6e11a770fa786e4bd3a26fb4c6c6684f76 (diff)
parent1a96f97960658df70a0a22ed1afc3aa2b9879f8e (diff)
downloadpfsense-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.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;
}