I have set up squid to use another proxy by inserting the following lines into the squid.conf file...
cache_peer 10.0.0.27 parent 8080 0 no-query
prefer_direct off
I expect this to use other proxy i.e.10.0.0.27 unless it is down in whcih case it can choose an alternative. however what squid does is that it sends some requests to 10.0.0.27 and some directly. Could anyone kindly eplain why squid si doing this?
if i use cache_peer 10.0.0.27 parent 8080 0 no-query default acl all_r src 0.0.0.0/0.0.0.0 never_direct allow all_r
then squid works only through the other proxy...
what i want to do is to tell squid to use another route if and only if the 10.0.0.27 proxy is down or is up but can't furnish requests and results in time outs....
awaiting response. thanks in advance. Toru.
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus