cascading squid 4 using a special cache 4 special domain ?

From: Michael Hellmann <mh@dont-contact.us>
Date: Fri, 31 Mar 2000 13:42:03 +0200

Hallo colleagues,
I've installed Squid/2.2.STABLE5
and I've following problem:

I'm using a well working cache for my LAN wich is forwarding all
requests to one parent, coz I'm behind a firewall

cache_peer 194.133.200.1 parent 80 7 no-query default

and the access to the other webservers in the intranet is granted with

acl intranet dstdomain my-intranet.de
never_direct deny intranet

Now i have to configure the cache in that way, that 4 a special
subdomain
in my-intranet.de another cache is used. Perhaps like that:

cache_peer 194.133.200.1 parent 80 7 no-query default
cache_peer 194.133.154.1 parent 9999 0 no-query

cache_peer_domain 194.133.154.1 subdomain.my-intranet.de
cache_peer_domain 194.133.200.1 !subdomain.my-intranet.de

But it dont work. :( I have read all the FAQs and the available
documantation
but i have not found any in addition to it. The access.log looks as
follows:

954495405.692 5755 hydra.stk.my-intranet.de TCP_MISS/200 3499 GET
http://sdb.suse.de/sdb/gifs/suse_150.gif - DEFAULT_PARENT/164.133.200.1
image/gif
954495571.047 214635 hydra.stk.my-intranet.de TCP_MISS/503 1017 GET
http://www.subdomain.my-intranet.de/ -
DIRECT/www.subdomain.my-intranet.de -

The 1. entry in the log is correct. For sites behind the firewall the
DEFAULT_PARENT
is used. But the 2. entry *sigh* ... why the cache tries to connect the
webserver
directly and not via the intended parent ?
I hope someone can help me.

Thanx
mh
Received on Fri Mar 31 2000 - 04:45:40 MST

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