[Mongrel] Multiple rails apps with Mongrel

Zed Shaw zedshaw at zedshaw.com
Fri Sep 8 11:11:35 EDT 2006


On Fri, 2006-09-08 at 09:17 -0500, Nick Sieger wrote:
> On 9/7/06, zer0halo <zerohalo at gmail.com> wrote:
>         if I was smart and knowledgeable enough I'm sure I could :-) 
>         but I was hoping for a bit of a simpler solution.
> 
> One possibility that no one else seems to have mentioned yet is the
> `--prefix' option that's coming out in the 0.3.13.4 release [1].  I'm
> using this successfully to run multiple apps under a single domain
> with no modifications to Rails code.
> 
> HTH,
> 
> /Nick
> 
> [1] http://mongrel.rubyforge.org/docs/howto.html

Quick correction Nick, you don't need to modify Rails code as long as
you slavishly utilize all the URL related helpers (like link_to()).  If
you had any hand coded links then those will have to change.



-- 
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.



More information about the Mongrel-users mailing list