using cache_peer on with tproxy

Taking care of your Linux box.
Post Reply
sarbazix
Lance Naik
Posts: 15
Joined: Fri Feb 20, 2004 4:56 am
Location: Karachi
Contact:

using cache_peer on with tproxy

Post by sarbazix »

Salam,
i am using squid as tproxy and was trying to redirect redirect some webpages or object to my other proxy server i have tried

acl someweb dstdomain .yahoo.com

cache_peer 192.168.0.2 parent 3128 0 no-tproxy
cache_peer_access 192.168.0.2 allow someweb
always_direct deny someweb
never_direct allow someweb
always_direct allow all

is there something i am missing please suggest!

Regard's
Tahir Sarbaazi
TheOne4U
Lance Naik
Posts: 19
Joined: Sat Sep 20, 2003 1:49 am
Location: Karachi

Re: using cache_peer on with tproxy

Post by TheOne4U »

[quote="sarbazix"]Salam,
i am using squid as tproxy and was trying to redirect redirect some webpages or object to my other proxy server i have tried

acl someweb dstdomain .yahoo.com

cache_peer 192.168.0.2 parent 3128 0 no-tproxy
cache_peer_access 192.168.0.2 allow someweb
always_direct deny someweb
never_direct allow someweb
always_direct allow all

is there something i am missing please suggest!

Regard's
Tahir Sarbaazi[/quote]

Try This its will work for you.

acl someweb dstdomain .yahoo.com
cache_peer 192.168.0.2 parent 3128 0 no-query proxy-only no-digest
cache_peer_access 192.168.0.2 allow someweb
dead_peer_timeout 5 seconds

TheOne4u
Post Reply