Re: [squid-users] Forcing squid to use parent always

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 25 Sep 2001 07:59:27 +0200

Emrah Tuerker wrote:
>
> >Most requests go to the parent. However, I occaisionally get a
> >request going direct. How can I force this to go to the parent?
>
> use the "never_direct" tag, for example :
>
> acl local-servers dstdomain foo.net
> acl all src 0.0.0.0/0.0.0.0
> never_direct deny local-servers
> never_direct allow all

normally one would do

always_direct allow local-servers
never_direct allow all

always_direct have a higher precendense than never_direct.

Regards
Henrik Nordstrom
Squid Hacker
Received on Tue Sep 25 2001 - 00:21:46 MDT

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