Michael Fox <[EMAIL PROTECTED]> uttered the following thing: > On 4/3/06, Ben Donohue <[EMAIL PROTECTED]> wrote: > > Hi Slugs, > > > > Port forward 80 to one of the boxes internally on say 3128, then > install squid on that machine listening to 3128. Now configure > httpd_accel mode. Configure the webserver names and confirm when this > name is resolved it goes to either box on port 80.
Meh. Complex and tedious. Squid, apache proxying, etc aren't that easy to get going. I gave up (especially when i wanted to run both services on the same box). I went with pound: http://www.apsis.ch/pound/ "The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s)." The code is considered production quality. keep in mind it's non-caching. Means no slow disk accesses. My installation consists of ONE binary, and ONE very simple config file: ListenHTTP *,80 # Listen on port 80 # Everything for domainone.com goes to web server 10.0.0.99 UrlGroup ".*" HeadRequire Host ".*domainone.com.*" BackEnd 10.0.0.99,80,1 EndGroup # Everything else to a local server, port 90 UrlGroup ".*" BackEnd 127.0.0.1,90,1 EndGroup And best of all there's zero maintenance if you tune your regex correctly. Plus you can do things like have it do SSL acceleration, load balance to any number of boxes, or redirect different bits of URLS to different boxes (eg have "/images/" served elsewhere. Can run in a simple chroot jail. It's in debian so you can "apt-get install pound". Do it. Really. I've used it for 2+ years with ZERO problems. BB -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
