Forum: Ruby on Rails How i can deploy ROR on a Win 2k server?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fausto (Guest)
on 2007-01-19 17:30
(Received via mailing list)
Id like to start developing in ROR but first i need to understand if i
can deploy it on my production server running windows 2k server.At the
moment i'm using a mongrel process on a port linked to a website
redirection in IIS but this means i need to start a single mongrel
process every website hosted. Is there a faster, more reliable way to
host ROR on a Win 2k Server?

Thansk in advance

Fausto
Brian H. (Guest)
on 2007-01-19 17:30
(Received via mailing list)
Nothing more reliable at the moment than mongrel.

Rails is not PHP, nor .Net. You need a minimum of one mongrel instance
per
application, almost always 2 per app, and sometimes more.  Deployment on
Windows requires (currently) Mongrel, a load balancer like Pen or
Apache 2.2+ mod_proxy_balance, a rewriter like ISAPI_Rewrite and an
IIS reverse proxy
like the plugin I wrote.

It sounds strange, but that's how it works. You have lots of ports on a
server, you can easily host lots of apps.

I support lots of people on Windows servers, but I still recommend that
you
serve your apps from Linux. It will perform much better if you expect
high
volume.

I have articles on my site (http://www.napcs.com/) that give you various
paths for setting things up, and I am contributing to the deployment
book as
well. Not sure when that will be out though.

You, or anyone else, can feel free to contact me regarding this issue.
Fausto (Guest)
on 2007-01-19 17:31
(Received via mailing list)
Hi brian, thanks for your reply. I have already checked your website
and i followed some of the guide.
At the moment we have an enterprise server running on 2k server where
all the customers's website are running and i choose to try the
IIS+mongrel solution you wrote. I had some problem with the
RewriteProxy method from which i get en error executing the cscript
proxycfg.vbs -r.
Here is the sequence of action i took:
- Installed trial version of ISAPI_Rewrite Helicon
- Stopped IIS 5 (on XP PRO SP2)
- i run cscript proxycfg.vbs -r and i got en error in cscript
proxycfg.vbs(95, 15)
after that i added manually the isapi filter to the default website but
the RewriteProxy isnt working.

Any ideas?

thanks
Brian H. (Guest)
on 2007-09-26 00:45
(Received via mailing list)
Try asking in the Helicon support forums. I've not seen that but my
guess is
that you're missing a dependency that the script needs to finish its
work.
This topic is locked and can not be replied to.