Hello, I want to install a bunch mongrel servers with an apache in fronthead, all that on OpenBSD. But OpenBSD is released with a homemade Apache 1.3.29 patched by the OpenBSD team. I really want to keep this version of apache and I don''t want to change it to Apache 2.x (because of the security and the license but it''s not the point here). But for having mongrel, it has to be with a Apache 2.x because the mod_proxy with balancer is not compatible with Apache 1.3. Is there a solution to this ? Have I to use fastcgi on openbsd with apache ? What solution should I use in my specific case ? Thanks you for your answers. ++ J?r?me
Hi, On Fre 24.11.2006 11:23, J?r?me Loyet wrote:> >Is there a solution to this ? Have I to use fastcgi on openbsd with >apache ? What solution should I use in my specific case ?Personally I see 2: 1.) + --> mongrel Apache1 -> SW-LB (e.g.: haproxy, pen, pound, ...) | --> mongrel . . + --> mongrel 2.) +--> Apache1 --> mongrel SW-LB (e.g.: haproxy, pen, pound, ...) |--> Apache1 --> mongrel . . +--> Apache1 --> mongrel I would prefer 1.) with haproxy (http://haproxy.1wt.eu/) and you don''t need the apache2 *monster ;-) With haproxy you can make the balancing on http level or, simplier, on tcp level ;-) Jm2c && hth Aleks
> Is there a solution to this ? Have I to use fastcgi on openbsd with > apache ? What solution should I use in my specific case ?You need to use another balancer liken pen, ngix & co between Apache and Mongrel. Apache''s mod_proxy forwards the request to the pen&co and this middleman ditributes the request between the several Mongrels. See the mongrel homepage for docs on pen&co.> > Thanks you for your answers. > ++ J?r?me >Jonathan -- Jonathan Weiss http://blog.innerewut.de