Michael Williams
2007-Jul-22 13:32 UTC
HOW TO: Setting up rails for "shared hosting" on a dedicated box. . .?
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
Nikolay Pavlov
2007-Jul-23 09:16 UTC
HOW TO: Setting up rails for "shared hosting" on a dedicated box. . .?
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) -- ===============================================================- Best regards, Nikolay Pavlov. <<<----------------------------- =============================================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070723/70c3fde7/attachment.pgp