PS: serve only specified domain

From: Bernhard Duebi <B.Duebi@dont-contact.us>
Date: Wed, 11 Sep 1996 15:45:58 +0200 (METDST)

Hi,

I still have problems with my squid configuration.
Once more my environment:
2 non-squid parents, which do respond on ICP requests (not even udp port 7)
  1 of them is a firewall
  1 is a normal proxy server
1 squid neighbor

I want the proxy parent to serve philips.com and nothing else.
I want the firewall to serve everything but philips.com.

I set the following acl's up:

cache_host firewall.philips.com parent 80 7 no-query
cache_host www-proxy.philips.com parent 80 7 no-query
cache_host neighbor.philips.com neighbor 3128 3130
inside_firewall philips.com
single_parent_bypass on
acl Philips domain .philips.com
acl MPN dst 130.138.0.0-130.147.0.0/255.255.0.0 161.83.0.0-161.92.0.0/255.255.0.
0
cache_host_acl www-proxy.philips.com Philips
cache_host_acl firewall.philips.com !Philips
cache_host_acl www-proxy.philips.com MPN
cache_host_acl firewall.philips.com !MPN

This configuration tells squid to not use firewall for philips.com and the
Philips Intranet. And it tells squid to use www-proxy for everything that is
requested.
How can I squid not to use www-proxy outside of Philips ? What I think of is
something like

cache_host_acl !firewall.philips.com !Philips
cache_host_acl !firewall.philips.com !MPN

to tell to not use a cachehost if the acl is true. Is this possible ?

TIA

BTW is the MPN acl correct ?

PS someone had the glorious idea to have hosts outside the firewall but inside
the philips.com domain. How can I tell squid to www-proxy.philips.com for these
hosts.

acl outside domain .internet.philips.com
cache_host_acl www-proxy.philips.com outside

This setup does not work because the inside_firewall causes squid to fetch all
data DIRECT from the source.

Sorry to bother you again with my problems, but who else can help ?

Cheers
Bernhard

Philips Semiconductors
----------------------------------------------------------
Telecom Product Group Berhard Duebi
Binzstrasse 44 System Manager
Postfach E-Mail: B.Duebi@zrh.sc.philips.com
CH-8045 Zuerich Fax: +41 1 465 18 06
Switzerland Voice: +41 1 465 15 40
Received on Wed Sep 11 1996 - 08:47:18 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:59 MST