Henrik Nordstrom wrote:
On Wed, 2006-08-02 at 12:31 +0700, Beast wrote:
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
why the intra stuff?
Just to make sure that the intranet sites were always direct.
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
always_direct deny special_domain
always_direct allow all
never_direct allow special_domain
never_direct deny all
This make all request direct, including special_domain.
Squid Cache: Version 2.6.STABLE1
configure options: '--enable-storeio=diskd,ufs'
'--enable-removal-policies=heap,lru' '--prefix=/opt/squid'
'--enable-delay-pools' '--enable-snmp' '--disable-ident-lookups'