November 21, 2024, 10:49:39 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: squid configuration , squid proxy config  (Read 11580 times)

Offline narsing

  • New Member
  • Posts: 1
squid configuration , squid proxy config
« on: May 31, 2004, 02:19:06 PM »
Dear All

My site has three squid proxies Squid A ,Squid B Squid C
The Squid A proxy listen to port 80 requests
And now I want proxy squid A after reading the url submiited by users to forward the port 80 traffic to squid B or squid C depending upon the url asked for

I know that I can use
cache peer 172.16.5.5 parent 80 default no querry
acl one url-regex micorsoft.com

Now the acl url regex reads the url submitted by the url
But Now want coammand which will forward port 80 packet to Squid B for all the request made for micrsoft.com

regards
Mishra

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
squid configuration , squid proxy config
« Reply #1 on: June 01, 2004, 03:24:39 PM »
Man you can either use no_cache directive with conjuction with cache_peer as your parent proxy.. or use..
Code: [Select]
acl microsoft dstdomain .microsoft.com
always_direct allow microsoft
but that is for direct connection so if you are child proxy then it will automatically direct request to parent proxy without caching..