[Mongrel] Multiple rails apps with Mongrel

Charles Brian Quinn
2006-09-08T17:39:41Z

I starred this conversation so that I would remember to add it to the
Apache best practices documentation I wrote for mongrel.  Consider it
done (soon).

http://mongrel.rubyforge.org/docs/apache.html

I am waiting for pre-release to go live before adding prefix related
information to the page, though.

As for your books on deployment, Ezra and Zed may have you covered here soon.

On 9/8/06, zer0halo <zerohalo at gmail.com> wrote:
> On 9/8/06, Joey Geiger <jgeiger at gmail.com> wrote:
> > ProxyPass /app1 http://127.0.0.1:3000/app1
> > ProxyPassReverse /app1 http://127.0.0.1:3000/app1
> >
> > You need to have the proxy pass the new directory name.
> >
>
> Victory! That was the missing piece. I had my ProxyPass as localhost:3000
> instead of localhost:3000/app1. Zed, I guess that''s what you meant
earlier
> -- sorry, I''m not that smart and didn''t catch it the
first time around.
>
> I think it would be very helpful to have a how-to on this in the Mongrel
> documentation (or at least the Rails Wiki -- I''ll try to add a
page there),
> for the sake of other poor souls. The solution was simple, but like with
> many things in Rails, for those of us not "in the know"
it''s not always
> obvious.
>
> As a side comment, it would be great if someone wrote a book on Rails
> deployment, as that seems to stump a lot of people (including a long-time
> PHP coder friend of mine who I convinced to try Rails, which he did and
> found the "joy of development" but also experienced the
"pain of
> deployment"), and is a stumbling-block to Rails adoption. There is
info out
> there but it takes a lot of digging, googling, asking on mailing lists,
etc.
> Some solid documentation covering various platforms and situations would be
> a God-send, I think.
>
> Thanks very much to all on this list who helped me with this.
>
> --
> "Impossible is nothing."
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
>


--
Charles Brian Quinn
self-promotion: www.seebq.com
highgroove studios: www.highgroove.com
slingshot hosting: www.slingshothosting.com