Sébastien WENSKE wrote:
> Hi all,
>
> I need to setup squid to use a parent proxy when direct connection failed.
>
> --------------------------------------------------------------------------
> acl playlist dstdomain .yacast.net
>
> http_access allow manager localhost
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow localhost
> http_access deny all
>
> cache_peer 10.151.8.10 parent 3128 0 name=prod default
>
> cache_peer_access prod allow all
> prefer_direct on
> --------------------------------------------------------------------------
>
> This configuration works fine, when I remove de default route (to simulate an ASDL issue) squid will use the parent proxy, but I want that squid use always the parent proxy for dstdomain .yacast.net:
>
> --------------------------------------------------------------------------
> acl playlist dstdomain .yacast.net
>
> http_access allow manager localhost
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow localhost
> http_access deny all
>
> cache_peer 10.151.8.10 parent 3128 0 name=prod default
>
> always_direct deny playlist
>
Use "never_direct allow playlist" instead.
> cache_peer_access prod allow all
> prefer_direct on
> ---------------------------------------------------------------------------
>
> That don't work, I've tried some others configurations with no success.
>
> Many Thanks,
>
> Sebastien.
Chris
Received on Thu Dec 18 2008 - 21:19:18 MST
This archive was generated by hypermail 2.2.0 : Fri Dec 19 2008 - 12:00:02 MST