frank
September 4, 2006, 10:46am
1
I have deployed one rails on Redhat + apache2.2 + mongrel_cluster,
suppose it could be accessed by www.rails.com
And now i want to have a blog used for it,for example typo, which can be
visited by blog.rails.com
My previous rails app is configured according to:
http://rubyforge.org/pipermail/mongrel-users/2006-August/000923.html
Can anybody tell me what is needed to be done for the second rails app–
typo?
Thanks
Frank
frank
September 4, 2006, 10:47am
2
frank
September 4, 2006, 9:52pm
3
On Mon, 2006-09-04 at 10:46 +0200, Frank wrote:
I have deployed one rails on Redhat + apache2.2 + mongrel_cluster,
suppose it could be accessed by www.rails.com
And now i want to have a blog used for it,for example typo, which can be
visited by blog.rails.com
My previous rails app is configured according to:
http://rubyforge.org/pipermail/mongrel-users/2006-August/000923.html
Can anybody tell me what is needed to be done for the second rails app–
typo?
Hi Frank,
We have an Apache document up that you could follow:
http://mongrel.rubyforge.org/docs/apache.html
And, then you would either create a new virtual host for your blog (like
blog.rails.com ) or you can use the --prefix option for mongrel and put
the site at /blog. The virtual host is what rails-core does, so that’s
probably what you should do.
After that it’s just a matter of setting up the second mongrel/rails
configuration to run your typo install.
–
Zed A. Shaw
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 – Come get help.