From owner-freebsd-stable@FreeBSD.ORG Mon Jul 23 09:16:29 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 B8DBE16A41A for ; Mon, 23 Jul 2007 09:16:29 +0000 (UTC) (envelope-from qpadla@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 37A4213C45B for ; Mon, 23 Jul 2007 09:16:29 +0000 (UTC) (envelope-from qpadla@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so1203382uge for ; Mon, 23 Jul 2007 02:16:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=mD7vr84GHDHLVEM+d1oE5CAGztokxwwd8DKlb4e9IUmrtSC7dQ+AbxC/nkqHG5KY6mdvZzPE6x98Q+KUcLrGm1ohw4HUcsPOaQ5BYupQBXlvGOvLSy7EW+rkVWgNs9SnuL+ZIkdgPpLSRJQ1gAaK8/GtlTt+RzNPs5gEMdyWVyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=J5wFoBrTchPK6vNokhlTi5Y4az5HoSvMsOG694WeCTvBbVpKXWQ/OEHaLX+rew7RFt6uC1j0vlCmXU9pNnH5URkGO661Eexc4vOuJmRlKoiwg6Vc+kV+Nij8Ihj8Ij1++WTe1V15kDPC88ay92GL9WBSLMlRDz28PeeQyKQF3D8= Received: by 10.67.19.17 with SMTP id w17mr4033158ugi.1185182188037; Mon, 23 Jul 2007 02:16:28 -0700 (PDT) Received: from 77-109-34-10.dynamic.peoplenet.ua ( [77.109.34.10]) by mx.google.com with ESMTPS id d26sm21728343nfh.2007.07.23.02.16.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jul 2007 02:16:26 -0700 (PDT) From: Nikolay Pavlov To: freebsd-stable@freebsd.org Date: Mon, 23 Jul 2007 12:16:17 +0300 User-Agent: KMail/1.9.7 References: <20070722120024.91A7316A4C2@hub.freebsd.org> <79DB43A3-7486-46AD-9BFF-5450A02E292E@gmail.com> In-Reply-To: <79DB43A3-7486-46AD-9BFF-5450A02E292E@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1764883.5shO8RjFAz"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200707231216.23215.qpadla@gmail.com> Cc: Michael Williams 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 09:16:29 -0000 --nextPart1764883.5shO8RjFAz Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 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=20 unmaintainable nature of fast_cgi) 3) Apache2 + cgi (Absolutely workable, but VERY slow case) =2D-=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D Best regards, Nikolay Pavlov. <<<----------------------------- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --nextPart1764883.5shO8RjFAz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGpHHn/2R6KvEYGaIRAniPAJ4ngtDIzj2w7d0WBq5nhsUjt30vDwCfU5K2 tU+lSZCAbZlI2HwMvDSB/RA= =f0PK -----END PGP SIGNATURE----- --nextPart1764883.5shO8RjFAz--