mån 2007-01-08 klockan 17:23 +0530 skrev Sameer Joshi:
> I also tried:
> 
> Replacing 'cache_peer www.abc.com parent 80 0 originserver', by
> cache_peer 1.2.3.4 parent 80 0 originserver www.abc.com
> cache_peer 5.6.7.8 parent 80 0 originserver www.xyz.com
> 
> Result is that for both www.abc.com and www.xyz.com, i m served with
> www.abc.com

Did you also adjust cache_peer_access accordingly?


cache_peer 1.2.3.4 parent 80 0 originserver name=abc
acl abc_domain dstdomain abc.mydomain.com .abc.com
cache_peer_access abc alloc abc_domain

cache_peer 5.6.7.8 parent 80 0 originserver name=xyz
acl xyz_domain dstdomain xyz.mydomain.com .xyz.com
cache_peer_access xyz allow xyz_domain


Not sure what the abc.mydomain.com vs www.abc.com split is about.. what
Squid cares about is the domain requiested in the URL.

Regards
Henrik

Attachment: signature.asc
Description: Detta är en digitalt signerad meddelandedel

Reply via email to