Re: [squid-users] redirecting request...!!!!

From: Schelstraete Bart <bart@dont-contact.us>
Date: Sat, 19 Jul 2003 15:46:24 +0200

S ý è d F ú r q à n wrote:

> Hello members.
>
> i m running squid in my small (60 computers) networks. and i need to
> redirect the request ... means . i've 2 server... 1 for browsing ...
> and the another for downloading.... is it possible.. when client send
> the request of downloading of any mp3 , exe then it will automatically
> redirect to another downloading server... .it is possible in squid..?
> if it is.. then kindly help me out...

Hello,

You can try this:

acl progs urlpath_regex -i \.exe$ \.com$ \.mp3$ (and other
files off course)
cache_peer progs.proxy.com parent 3128 3130
cache_peer_access progs.proxy.com allow progs !all
cache_peer browse.proxy.com parent 3128 3130
cache_peer_access browse.proxy.com allow all !progs

That should work, but I'm not sure.

       Bart

-- 
Pls sign the following guestbook:   http://www.cable-dance.be   and ask 
to re-activate cable-dance!
Pls send this message to everyone ASAP.
Tnx, Bart
Received on Sat Jul 19 2003 - 07:46:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:11 MST