[SQU] Peers selections

From: François GRATIOLET/Security/Operations/NET2S-SA <fgratiolet@dont-contact.us>
Date: Tue, 12 Dec 2000 17:11:51 +0100

Hi guys,

I have a problem when configuring a hierarchy of proxies. I have a squid
proxy and 2 parents;
1 antivirus proxy and 1 Squid proxy. When http://magnesium/virus is
requested by a browser,
I want the request to be forwarded to the antivirus proxy. When
http://magnesium is
requested, I want the request to be forwarded to the second Squid proxy.

I have written the following lines in the squid.conf file:

acl virus_url url_regex ^http://magnesium.i2bd.edpdep.vdf.socgen.com/virus/
acl magnesium_url url_regex ^http://magnesium.i2bd.edpdep.vdf.socgen.com/
acl all src 0.0.0.0/0.0.0.0

cache_peer 172.16.96.10 parent 3128 7 no-query
cache_peer_access 172.16.96.10 allow virus_url
cache_peer_access 172.16.96.10 deny all

cache_peer 172.16.32.3 parent 3128 3130
cache_peer_access 172.16.32.3 allow magnesium_url
cache_peer_access 172.16.32.3 deny all

172.16.96.10 is the antivirus proxy
172.16.32.3 is the second Squid proxy

Of course it doesn't work.

Thank you for your help.

Best regards,

Francois.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Dec 12 2000 - 09:14:17 MST

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