Re: [SQU] parent cache problem

From: Robert Collins <robert.collins@dont-contact.us>
Date: Mon, 5 Mar 2001 21:49:24 +1100

Can I suggest you use squid 2.4, and then

acl test url_regex -i *\.mp3$
cache_peer test.proxy.com parent 3128 0 no-query
cache_peer_access test.proxy.com deny !test

which will only allow mp3 requests for that cache, with ICP disabled.

if you have other cache parents, add
cache_peer_access other.parent.com deny test
cache_peer_access other.parent.com allow all

Rob

----- Original Message -----
From: "Krasi Zlatev" <krasice@yahoo.com>
To: <squid-users@ircache.net>
Sent: Monday, March 05, 2001 7:03 PM
Subject: [SQU] parent cache problem

> I want to do the following:
>
> All urls that are *.mp3/for example/ to go to a parent
> proxy and the others not to contact the parent
> proxy.If hte url is *.mp3 and the parent is contacted
> I want it to have a certain timeout and if the timeout
> is reachd the request to go direct.
>
> My config is:
>
> acl test url_regex -i *\.mp3$
> cache_peer test.proxy.com parent 3128 0
> never_direct allow test
> always_direct deny test
>
> If I remove never_direct the parent is never
> contacted!
>
>
> Please advice me.Thank You!
>
>
> =====
> krasi@freeshell.org
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Mar 05 2001 - 03:53:21 MST

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