Ruby on Rails applications with Mongrel cluster

Hello All

I am trying to install 5 mongrel servers against my app. i am using
Vista. I found this article on a website… but am stuck on one point.

here are some notes from article:

Now enable the needed modules (url rewriting, proxy, proxy_balancer e
proxy_http) by editing the httpd.conf file (under c:
\Apache_Software_Foundation\Apache2.2\conf, if you installed Apache in
its standard path). You just need to uncomment the following lines
(remove the #):

LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_http_module modules/mod_proxy_http.so

gem install mongrel (pick last version for win32)
gem install mongrel_service (pick last version for win32)

Now we will create a mongrel cluster of 2 windows services responding
at http://127.0.0.1 on ports 3010, 3011 serving a rail application at
the path c:\www\ror\myapp that will be started from the windows system
user. The two windows services will be respectively named
mongrel_myapp1 and mongrel_myapp2. Open the command prompt and type:

mongrel_rails service::install -N mongrel_myapp1 -p 3010 -e production
-c c:\www\ror\myapp
mongrel_rails service::install -N mongrel_myapp2 -p 3011 -e production
-c c:\www\ror\myapp

Now open the windows services tool, make the 2 new services have an
automatic startup type (so they will still be started when you
reboot).
Test if your application is now running at the two ports:

http://localhost:3010
http://localhost:3011

… i am not getting any results when connecting to localhost:3010

instead its looking for locahost.com

Please advice
Ajit

I wrote about what I did on blog.flame.org. Click on the mongrel
tagvas itvis currently the only thing under that topic.

–Michael

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs