On ons, 2008-07-16 at 15:16 -0400, jason bronson wrote:
> im using this
>
> 1567 acl new urlpath_regex ^/data.php
> 1568 acl test urlpath_regex ^/data_dev.php
> 1569
> 1570 cache_peer_access 10.108.50.32 allow test
> 1571 cache_peer_access 10.108.50.33 allow new
> 1572
> 1573
> 1574 cache_peer 10.108.50.33 parent 80 0 name=uat no-query
> no-digest originserver
> 1575 cache_peer 10.108.50.32 parent 80 0 name=test no-query
> no-digest originserver
>
>
> yet on config reload I get
> No cache_peer '10.108.50.33'
> No cache_peer '10.108.50.32'
Order is important. cache_peer_access needst to go after cache_peer.
Additionally it refers to the peer name, not the host..
cache_peer 10.108.50.33 parent 80 0 name=uat no-query no-digest originserver
cache_peer_access uat allow new
cache_peer 10.108.50.32 parent 80 0 name=test no-query no-digest originserver
cache_peer_access test allow test
Regards
Henrik
Received on Wed Jul 16 2008 - 19:50:17 MDT
This archive was generated by hypermail 2.2.0 : Thu Jul 17 2008 - 12:00:03 MDT