Mohammad Shakir wrote:
>I have 3 cache_peer and want to configure like this
>
>Paccs acl goes to 192.168.0.1
>MediaExt acl goes to 192.168.0.2
>and all others request goes to 192.168.0.3
>
>for this I change in squid.conf like this, but it is not working properly.
>  
>
Could you be more specific in how it's not working properly?  Is all 
traffic being passed to one cache_peer, or is traffic being denied, or... 
Well, looking at it again, I think that you might want to clear out the 
OurLan acl elements from the cache_peer_access lines.  You can (and 
should) control access to the parent caches on the parents.  Also, 
adding an explicit "cache_peer_access $CACHE_PEER_IP deny all" after the 
allow lines might help as well.  I'm not sure if the "implicit opposite 
of the last rule" works on cache_peer_access lines.
>Squid Cache: Version 2.5.STABLE13
>OS : Fedora Core 3
>
>
>acl MediaExt urlpath_regex -i \.EXE$ 
>acl Paccs dstdomain www.paccs.com.pk
>acl OurLan src 10.0.0.0/255.0.0.0
>
>cache_peer 192.168.0.1 parent 8080 0 no-query
>cache_peer_access 192.168.0.1 allow OurLan Paccs
>  
>
>cache_peer 192.168.0.2 parent 8080 0 no-query
>cache_peer_access 192.168.0.2 allow OurLan MediaExt
>  
>
>cache_peer 192.168.0.3 parent 8080 0  no-query
>  
>
>cache_peer_access 192.168.0.3 allow OurLan !MediaExt !Paccs
>
>
>  
>
Chris
Received on Mon Apr 10 2006 - 17:16:50 MDT
This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT