Re: Choosing neighbor cache based on url

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 31 Oct 1998 16:50:18 +0100

Irfan Akber wrote:
>
> I also noticed that single parent cache does not work without
> specifying inside_firewall. Any comments.

cache_peer no-query option does not work in Squid 1.X if you don't have
any ICP enabled siblings. If you have a single-parent configuration and
don't want to use ICP then you have to use "single_parent_bypass on"

Other than this single parent configurations does work in Squid 1.X as
far as I know.

> I couldn't find a solution. I want squid to choose neighbor proxy
> server based on the url .e.g url ending with .exe, .mov, .mpg,
> .zip would all be sent to proxy server1 and the rest to proxy server2.

> Proxy server1 is windows based so no-query option is required. Can
> anyone give some examples. I am using squid 1.x.x. Can it be done
> with cache_host_acl ?

Yes.

acl endings url_regex \.exe$ \.mov$ \.mpg$ \.zip$
cache_host_acl server1 endings
cache_host_acl server2 !endings

---
Henrik Nordstrom
Spare time Squid hacker
Received on Sat Oct 31 1998 - 08:45:33 MST

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