Search squid archive

Use parent proxy when direct failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
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.





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux