JannaB wrote: > Passenger is not available for windows. However, it seems for a simple > deployment configuration, under windows, I can just simply put the > virtual hosts section into http.conf, e.g.: > > <VirtualHost *> > ServerName mysite > DocumentRoot C:/InstantRails/rails_apps/mysite > ProxyPass / http://localhost:3000/ > ProxyPassReverse / http://localhost:3000 > </VirtualHost> > > add a line into my windows hosts file: > > 127.0.0.1 mysite > > fire up apache, fire up mongrel with: > > ruby script/server -e production -p 3000 > > and away I go. Am I wrong? Isn't this about the simplest and easiest > means of deployment? -Janna
Yes, you can do this -- it's more or less what everyone did before Passenger came along; Passenger just automates it. However, you'll want multiple Mongrel processes if you're doing anything remotely close to production use, and at that point Windows is no longer an appropriate choice for other reasons anyway (such as security). I think you'd be better advised to deploy on *nix of some sort (perhaps in a VM?), so the point is kind of moot. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

