using cache_peer on with tproxy

Taking care of your Linux box.

using cache_peer on with tproxy

Postby sarbazix » Mon Sep 27, 2010 4:15 am

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
sarbazix
Lance Naik
 
Posts: 15
Joined: Fri Feb 20, 2004 4:56 am
WLM: tabaloch@hotmail.com
Yahoo Messenger: tabaloch@yahoo.com
Location: Karachi

Re: using cache_peer on with tproxy

Postby TheOne4U » Tue Oct 12, 2010 5:20 pm

[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
TheOne4U
Lance Naik
 
Posts: 19
Joined: Sat Sep 20, 2003 1:49 am
WLM: drcool@hotmail.com
Location: Karachi


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 2 guests

cron