Henrik, I'm very confused with the always/never_direct usage, hence my cache_peer is not working the way I wanted it to be.
In feb 03 forum, you said : always_direct allow -> Squid MUST go direct never_direct allow -> Squid MUST NOT go direct then, is it right for me to interpret that : always_direct deny --> Squid MUST NOT go direct never_direct deny --> Squid MUST NOT go direct What I want to do in my Squid, is simply to forward all requests from my LAN to 10.x.x.x (parent). After checking with the FAQ, I think I shd write something like : cache_peer 10.x.x.x parent 8080 0 no-query default never_direct allow LAN I need to look at more concrete examples before I can decide what I want and learn how to write those lines correctly. --- Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On Tuesday 04 March 2003 03.43, Ben White wrote: > > Hi, > > > > I have these lines below in my config file : > > > > cache_peer 10.x.x.x parent 8080 0 no-query default > > cache_peer_access 10.x.x.x allow LAN > > cache_peer_access 10.x.x.x deny all > > always_direct deny all > > always_direct allow LAN > > The last line is a no-op as all requests will match > the first > always_direct line... > > What exactly is it you are trying to do here? I am a > bit confused by > your configuration as your cache_peer_access and > always_direct > directives is in direct conflict to each other.. > > Note: there is also a never_direct directive in > squid.conf. If you > want to make Squid always use the parent for certain > the requests > this is the directive you are looking for, not > always_direct.. > (always_direct is the direct opposite, with the > default behaviour > somewhere inbetween). > > REgards > Henrik __________________________________________________ Do You Yahoo!? Promote your business from just $5 a month! http://sg.biztools.yahoo.com
