Re: [squid-users] never_direct not working !!

From: Christoph Haas <email@dont-contact.us>
Date: Fri, 10 Oct 2003 15:21:56 +0200

On Mon, Oct 06, 2003 at 11:55:22AM -0300, zottmann@ig.com.br wrote:
> I am not managing how to direct some users to access external sites directly
> from de squid box, and others to go through another antivirus/proxy that we
> have here.
>
> If I use only "never_direct allow all", everyone goes through the
> antivirus/proxy, but if I use the configuration below, everyone goes direct
> !!!
> What can be wrong?

Mixing both always_direct and never_direct may cause problems. I don't
claim to really understand the difference. I have read the comments in
the squid.conf dozens of times but still don't get the idea what happens
exactly when you mix them. Perhaps I need to read the source code
itself.

> always_direct allow free_www
> always_direct deny all
> never_direct allow all

The last two lines may confuse squid. Leave the last line off and tell
it to...
| always_direct allow free_www
| always_direct deny all

This way the free_www destinations are always reached directly
(following your local routing table) and all other requests are sent via
your parent proxy.

 Christoph

-- 
~
~
".signature" [Modified] 3 lines --100%--                3,41         All
Received on Fri Oct 10 2003 - 07:22:10 MDT

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