From 0f34f2799deac46ce80825cd3d50ba06cc7a9866 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 27 Apr 2010 01:54:34 -0400 Subject: Setup ACL logic correctly for backend assignments --- config/varnish64/varnish.inc | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/config/varnish64/varnish.inc b/config/varnish64/varnish.inc index c4fd5b4b..351345f0 100644 --- a/config/varnish64/varnish.inc +++ b/config/varnish64/varnish.inc @@ -126,30 +126,32 @@ EOFA; if($config['installedpackages']['varnishbackends']['config'] != "") { foreach($config['installedpackages']['varnishbackends']['config'] as $backend) { $isfirst = true; - if($config['installedpackages']['varnish_lb_directors']['config'] != "") { - foreach($config['installedpackages']['varnish_lb_directors']['config']['row'] as $urlmapping) { - if(!$isfirst) - $urlmappings .= "else "; - $urlmappings .= <<