Search squid archive

always_direct and never_direct confusion

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

 



The requirement is simple, all domain must be direct, except for special_domain which should be obtained from parent proxy.

--squid.conf--
acl intra_domain dstdomain .internal.dom
acl intra_ip  dst 10.0.0.0/8
acl special_domain dstdomain .example.com .example.net .example.org

cache_peer proxy.isp.net    parent    8080  0 no-query
never_direct allow special_domain
always_direct allow intra_domain
always_direct allow intra_ip
---
This results that some request are obtained from parent proxy, and some are direct.

Tried other combination also, but this direct all request for all domain.

always_direct deny special_domain
always_direct allow all

TIA.

--beast


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

  Powered by Linux