/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-08 / Configuring Squid Behind Pound, Before Zope

[ << ] [ >> ]

[ Mismatched SSL Certificates / Brian Warshawsky ... ] [ Issues ./configure-ing on SLED 10 / Jeffrey Brown ... ]

Configuring Squid Behind Pound, Before Zope
beno <zope(at)2012.vi>
2006-08-24 19:45:24 [ FULL ]
Hi;
I have Squid listening on port 2020. I want to cache just one site, 
which has its own Zope instance, listening on port 7080. I'm confused as 
to how to send traffic to Squid and then get Squid to send traffic to 
Zope. Here's a code snippet from my current pound.conf file:

LogLevel     2
ListenHTTP
Client 120
Address 202.71.106.119
Port    80
Service
  HeadRequire "Host: .*2012.vi.*"
  BackEnd
  Address 202.71.106.119
  Port    7080
 End
End
End

Now, I would imagine I'd change the final port from 7080 to 2020 so that 
I would send the traffic to Squid. Is that correct? If so, can anyone 
tell me how to get that traffic from Squid directed to port 7080 and 
thereby Zope, or should I ask the Squid list that?
TIA,
beno

Re: [Pound Mailing List] Configuring Squid Behind Pound, Before Zope
Ted Dunning <tdunning(at)veoh.com>
2006-08-24 20:17:43 [ FULL ]
Depending on the characteristics of your traffic, you may be better off
having squid come before pound.  This would decrease the load on pound
(which might be good if squid can handle the traffic faster than pound can).
In some other situations, you might want pound in front of squid (if pound
needs to handle SSL before making routing decisions, for instance).

If you have pound in front of squid, then the backend address in the pound
config file would be the address of the squid and the backend address in the
squid config file would be the real server.


On 8/24/06 10:45 AM, "beno" <zope(at)2012.vi> wrote:
[...]

Re: [Pound Mailing List] Configuring Squid Behind Pound, Before Zope
beno <zope(at)2012.vi>
2006-08-24 20:41:24 [ FULL ]
Ted Dunning wrote:[...]
The latter is indeed my situation, and that's why I need Pound --> Squid 
--> Zope.[...]
Okay, now this is OT, but do you happen to know how I configure the back 
end of Squid? That's what I couldn't find.
TIA,
beno

MailBoxer