From owner-freebsd-stable@FreeBSD.ORG Mon Jul 23 14:14:08 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C600616A41F for ; Mon, 23 Jul 2007 14:14:08 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 91B1913C46E for ; Mon, 23 Jul 2007 14:14:06 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 8096 invoked from network); 23 Jul 2007 09:14:03 -0500 Received: from 203-206-233-219.dyn.iinet.net.au (HELO localhost) (203.206.233.219) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 23 Jul 2007 09:14:03 -0500 Date: Tue, 24 Jul 2007 00:13:59 +1000 From: Norberto Meijome To: Nikolay Pavlov Message-ID: <20070724001359.10b4d158@localhost> In-Reply-To: <200707231216.23215.qpadla@gmail.com> References: <20070722120024.91A7316A4C2@hub.freebsd.org> <79DB43A3-7486-46AD-9BFF-5450A02E292E@gmail.com> <200707231216.23215.qpadla@gmail.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Michael Williams , freebsd-stable@freebsd.org Subject: Re: HOW TO: Setting up rails for "shared hosting" on a dedicated box. . .? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 14:14:08 -0000 On Mon, 23 Jul 2007 12:16:17 +0300 Nikolay Pavlov wrote: > On Sunday 22 July 2007 16:32:19 Michael Williams wrote: > > Hi All, > > > > As you may already know, A partner and I recently purchased a > > dedicated FreeBSD box. We're currently using Plesk (blech!) to > > manage client domains and such. I'm curious though as to what the > > best (most manageable) setup/configuration is for supporting Rails > > for each of our clients. Basically we want to be our own Shared > > Hosting Rails Provider (for lack of a more appropriate phrase) and > > need to figure out the best server configuration. Just a bit of an > > FYI, everything is already running on Apache2 so I'd need to share > > Apache2 among all programs (e.g. svn, rails, etc); as opposed to > > splitting tasks between Apache and Apache2. > > > > If you could point me in the right direction it would be most > > appreciated. > > > > Regards, > > Michael > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > Hi Michael. I don't think that apache is the best choice to handle rails > applications. However in case of Share hosting environment it would be fine. > I see three choices here: > 1) Apache2 + mod_proxy_balancer + mongrel (The best way IMHO) > 2) Apache2 + fast_cgi (Could have some problems, due to mostly > unmaintainable nature of fast_cgi) > 3) Apache2 + cgi (Absolutely workable, but VERY slow case) > Look into Lighty (http://lighttpd.net ) _________________________ {Beto|Norberto|Numard} Meijome "Ugly programs are like ugly suspension bridges: they're much more liable to collapse than pretty ones, because the way humans (especially engineer-humans) perceive beauty is intimately related to our ability to process and understand complexity. A language that makes it hard to write elegant code makes it hard to write good code." Eric Raymond I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.