AW: [SQU] redirected downloads

From: Sekerovic Dragan <dragan.sekerovic@dont-contact.us>
Date: Thu, 28 Sep 2000 08:52:39 +0200

hi henrik!

...

cache_peer 80.160.102.49 parent 8080 0

acl FILES urlpath_regex -i \.exe$

cache_peer_access 80.160.102.49 allow FILES
cache_peer_access 80.160.102.49 deny all
never_direct deny !FILES

and everything works fine.

thx

dragan

-----Ursprüngliche Nachricht-----
Von: Henrik Nordstrom [mailto:hno@hem.passagen.se]
Gesendet: Mittwoch, 27. September 2000 23:25
An: Sekerovic Dragan
Cc: 'squid-users@ircache.net'
Betreff: Re: [SQU] redirected downloads

Sekerovic Dragan wrote:
>
> hi folks!
>
> i've the following problem:
>
> in one of our offices there is a xDSL-link with 1 gb download-limit. i
want
> all users of this office to be auto-redirected to another proxy (connected
> with a slow leased line, unlimited) if they try to download specially
files,
> for example .exe, .zip, .mov etc.
>
> which files my users try to download i can check out with ACL. but how to
> redirect them to the other proxy??

You cannot redirect them to another proxy. What you can do is to forward
the request to this other proxy.

See cache_peer and cache_peer_access.

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Sep 28 2000 - 00:55:38 MDT

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