[Mongrel] Multiple rails apps with Mongrel

carmen _ at whats-your.name
Thu Sep 7 17:12:46 EDT 2006

On Thu Sep 07, 2006 at 04:06:05PM -0500, zer0halo wrote:
> I'm trying to set up several different Rails apps on the same domain, each
> one running Mongrel. After reading all of the documentation, it's fairly
> clear how to use subdomains - create several Apache virtual hosts, each of
> which has a different ProxyPass and ProxyPassReverse command to redirect
> from different ports (ie, 3000, 3100), and then have each Mongrel instance
> (or cluster) set to the corresponding port (3000, 3100). [If this theory is
> incorrect, please let me know!]
> However, what I'm trying to acheive is to host them all under the same
> domain. In othe words, I would like to have
> www.domain.com/app1
> www.domain.com/app2

maybe you can hack the mongrel_rails script to setup a rails handler for each app? camping does it this way anyways

More information about the Mongrel-users mailing list