On Sun, 2006-07-23 at 14:49 -0700, Martin Longo wrote: > Sorry to bother you with a Rails "newbie"-like question, but I have been > tearing my hair out for a couple of days with the deployment scenario I am > trying to setup. I use a service provider that supports multiple domains via > Virtual Hosts. I have all the software installed and "working". I want to > deploy two apps under my domain and have the following in my .conf file: <snip>
> > Everything seems to work fine from my browser when I enter things like: Hi Martin, try out the 0.3.13.4 pre-release and use the --prefix argument: gem install mongrel --source=http://mongrel.rubyforge.org/releases/ mongrel_rails start -e production --prefix /app1 This will mount the rails controller at /app1 so that your routing and such will work. It tends to work better when the whole app is at /app1 or /app2 rather than some half-between with some stuff at / and some stuff at /app[1,2]. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support? _______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
