Re: [squid-users] Proxies

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 02 Apr 2003 11:50:55 +0200

ons 2003-04-02 klockan 10.47 skrev Ben White:
> Hi,
>
> I want FTP to use proxyA, and non-FTP to use proxyB,so
> I have these lines in my config file :
>
> acl ftp proto FTP
> cache_peer proxyA parent 8080 0 no-query
> cache_peer proxyB parent 8080 0 no-query
> cache_peer_access proxyA allow ftp
> cache_peer_access proxyB allow !ftp
> never_direct allow all
>
> I'm not sure if the lines above would work, but Squid
> doesn't complain when I execute reconfigure.

Looks good.

> My questions are :
> 1) how many parents can I have in squid.conf ?

Very many.

> 2) how do I verify if ftp traffic is using proxyA, and
> non-ftp traffic using proxyB ? When I try to grep
> proxyA from access.log, I found nothing.

Send a FTP request and then pay attention to the hierarchy field in
access.log. This field tells how Squid selected where to forward the
request and where the request was forwarded.

Regards
Henrik

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Wed Apr 02 2003 - 02:51:03 MST

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