RE: [squid-users] Bypassing Squid for local address destination

From: <[email protected]>
Date: Wed, 20 Oct 2004 10:42:00 +0200

> >...
> > and
> >
> > always_direct allow intranet
> > no_cache deny intranet
> >
>
> Your contribution is confusing in the sense that these directives
> have no relation whatsoever. 'always_direct' tells SQUID what to do in
> case cache_peers are being used.
>
> It bares no result either for the users original question
> (not using squid for 'local' sites).
>
> M.
>

Well, then I was myself confused by the comments in squid.conf :
# TAG: always_direct
# Usage: always_direct allow|deny [!]aclname ...
#
# Here you can use ACL elements to specify requests which should
# ALWAYS be forwarded directly to origin servers. For example,
# to always directly forward requests for local servers use
# something like:
#
# acl local-servers dstdomain my.domain.net
# always_direct allow local-servers

Have I mistaken "local servers" for , say, "intranet servers" ?
What you are telling me, is that : If I don't use cache peers, then I don't
need this directive ?

Cheers,

Andrew.
Received on Wed Oct 20 2004 - 02:42:04 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST