[Mongrel] (no subject)

Jan Svitok jan.svitok at gmail.com
Wed Aug 16 11:47:23 EDT 2006

On 8/16/06, Bryan Thompson <bryan at galisys.com> wrote:
> Hi everybody,
> We are developing several applications on a single server and I'm looking
> for a way to use mongrel with each of them.  Right now, http://testapp.com/
> is being served on that machine through apache and mongrel.  Here's what a
> part of my apache config looks like:
> <Proxy balancer balancer://testappcluster>
>  BalancerMember
>  BalancerMember
>  BalancerMember
>  </Proxy>
> <VirtualHost testapp.com:80>
>  ServerName testapp.com
>  ServerAlias testapp.com
>  ProxyPass / balancer://testappcluster/
>  ProxyPassReverse / balancer://testappcluster/
>  </VirtualHost>
> It works great, but I want to move this app to http://testapp.com/foo and
> have another app at http://testapp.com/bar.
> Any tips?  I was able to get my apps served separately with subdomains,
> however, I would prefer to keep them all on the same domain and just use
> /foo and /bar.
> Thanks!
> Bryan Thompson


It's not possible to run more apps within one mongrel (for details see
former thread "[Mongrel] Mongrel and multi apps").

For subdirectories, start your mongrel with --prefix /foo (or you can
put it in the mongrel config file)

More information about the Mongrel-users mailing list