> 2007/7/5, Emilio Casbas <ecasbas@unav.es>:
>>
>> I think this example would be redundant, We could achive the same
>> objective with:
>>
>> cache_peer 12.34.56.78 parent 80 0 no-query originserver
>> name=CCTV
>>
>> acl service_cctv dstdomain .cctv.com
>> cache_peer_access CCTV allow service_cctv
>>
>
> No.This site of cctv.com has lots of virtual hosts,and those virtual
> hosts are located in different original servers.So for us the
> statement of 'dstdomain .cctv.com' is not useful at all.
You should still be able to condense the *_access lines down to a single
instance. Like so:
acl service_cctv dstdomain d1.cctv.com
acl service_cctv dstdomain d2.cctv.com
acl service_cctv dstdomain d3.cctv.com
cache_peer_access CCTV allow service_cctv
With a different acl name for each distinct-origin set of virtual hosts.
Amos
Received on Thu Jul 05 2007 - 17:09:52 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT