Try adding
nonhierarchical_direct off
to your configuration in addition to prefer_direct off.
Regards
Henrik
Michael Smirnov wrote:
>
> To make Squid go through parent, if it is not down (!!!),
> but go direct when it is down;
>
> I tried
> prefer_direct off
> it works ok with authenticated http, and anonymous-ftp.
> But when I download via non-anonymous FTP,
> it goes DIRECT!
> For example, you can try it with
> ftp://nnm:nnm@mail2.sofex.ru/nnm/klezmer/track1.mp3
> and see the X-Cache headers in a download-programs.
>
> I could use never_direct to always use the parent,
> but it's really bad, because my downloads will fail when this parent is down!
>
> squid-2.5.PRE12 on FreeBSD 4.6-Release,
> the same situation on 2.4-Stable7.
Received on Tue Sep 10 2002 - 01:30:56 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:10 MST