Search squid archive

cache_peer and acl random problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello folks,
 
I am trying to load-balance a username among 2 parents and the cache itself (direct).
 
I have:
 
[auth_param parts snipped, username works fine]
 
acl 33PERCENT random 1/3
acl TESTUSER proxy_auth TESTUSER
 
cache_peer 2.2.2.3   parent 4444             0 proxy-only name=P2 login=PASS
cache_peer 2.2.2.4   parent 4444             0 proxy-only name=P3 login=PASS
 
cache_peer_access P2 allow TESTUSER 33PERCENT 
cache_peer_access P3 allow TESTUSER 33PERCENT
 
cache_peer_access P2 deny all 
cache_peer_access P3 deny all
 
 
I can't seem to get this working. I surely must be overlooking something.
 
How can I make the username go from 2 parents and cache itself (direct) randomly?
 
Thanks!
 
J
 
 

 
 
  		 	   		  


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux