LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help to connect a squid proxy to connect to another squid proxy server (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-to-connect-a-squid-proxy-to-connect-to-another-squid-proxy-server-302067/)

bellerophon 03-15-2005 07:48 PM

Need help to connect a squid proxy to connect to another squid proxy server
 
Goodday sir/mam

I'm have a Red Hat Linux 9 server with Squid use as a proxy and I'm trying to connect another squid proxy server to it. Are there any software needed to be installed aside from squid? Are there any special configuration needed? Please really need a HELP here...

rtg 02-07-2006 06:52 AM

Just add the following line tou your squid config.
Code:

cache_peer <your_parent_cache_ip> parent 3128 3130 no-query default no-digest
See
OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM section in Squid.conf for explanation of this.

After sthis your proxy will fetch static documents without any errors, but if you want to fetch something containing ? or cgi-bin, it will try to bypass the parent cache. To prevent it from doing this add the following line:
Code:

never_direct allow all


All times are GMT -5. The time now is 10:43 AM.