# How i can deploy ROR on a Win 2k server?

**URL:** <https://www.ruby-forum.com/t/how-i-can-deploy-ror-on-a-win-2k-server/82413>\
**Category:** Rails\
**Created:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/how-i-can-deploy-ror-on-a-win-2k-server/82413 "2007-01-19T16:30:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fausto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/f6c823/32.png) [@Fausto](https://www.ruby-forum.com/u/Fausto)\
**Post date:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/how-i-can-deploy-ror-on-a-win-2k-server/82413/1 "2007-01-19T16:30:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fausto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/f6c823/32.png) [@Fausto](https://www.ruby-forum.com/u/Fausto)\
**Post date:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/how-i-can-deploy-ror-on-a-win-2k-server/82413/2 "2007-01-19T16:30:44Z")

</div>

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/](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.

---

<div class="post-metadata">

**Author:** ![Fausto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/f6c823/32.png) [@Fausto](https://www.ruby-forum.com/u/Fausto)\
**Post date:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/how-i-can-deploy-ror-on-a-win-2k-server/82413/3 "2007-01-19T16:31:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fausto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/f6c823/32.png) [@Fausto](https://www.ruby-forum.com/u/Fausto)\
**Post date:** [September 25, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/how-i-can-deploy-ror-on-a-win-2k-server/82413/4 "2007-09-25T22:45:40Z")

</div>

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.
