Hi, I am hosting a couple of asp.net sites on IIS on my server. Now I need to host another site in ruby on the same machine. For this I guess i will need to run the webrick server. Can anyone tell me how to have both iis and webrick running on port 80, otherwise people will need to add the port 3000 to the site name each time they visit the ruby site. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It''s not advisable to run webrick on a production server - in fact, it''s falling out of favour generally as it does have a few bugs. The latest idea for running on windows is to use mongrel to run the rails application. You can then use IIS to proxy requests for your rails site through to the mongrels. That may be easier said than done as I''m not sure how you proxy on IIS. However, there has been quite a bit of discussion about the subject of rails/windows on this group so i would suggest having a bit of a search to see if you can pick up some additional resources to help you out. Hope that helps, Steve --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It''s not advisable to run webrick on a production server - in fact, it''s falling out of favour generally as it does have a few bugs. The latest idea for running on windows is to use mongrel to run the rails application. You can then use IIS to proxy requests for your rails site through to the mongrels. That may be easier said than done as I''m not sure how you proxy on IIS. However, there has been quite a bit of discussion about the subject of rails/windows on this group so i would suggest having a bit of a search to see if you can pick up some additional resources to help you out. Hope that helps, Steve --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
We run a similar setup. In our case we run Apache in front of everything. Apache then proxies to either mongrel_cluster or to IIS depending on the URL. We looked into proxying through IIS but it was more trouble than it is worth. V/r Anthony Eden On 1/13/07, Prashant Deva <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi, > I am hosting a couple of asp.net sites on IIS on my server. > > Now I need to host another site in ruby on the same machine. For this I > guess i will need to run the webrick server. > > Can anyone tell me how to have both iis and webrick running on port 80, > otherwise people will need to add the port 3000 to the site name each > time they visit the ruby site. > > -- > Posted via http://www.ruby-forum.com/. > > > >-- Cell: 808 782-5046 Current Location: Melbourne, FL --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Prashant Deva wrote:> Hi, > I am hosting a couple of asp.net sites on IIS on my server. > > Now I need to host another site in ruby on the same machine. For this I > guess i will need to run the webrick server. > > Can anyone tell me how to have both iis and webrick running on port 80, > otherwise people will need to add the port 3000 to the site name each > time they visit the ruby site.Here you go: http://weblog.rubyonrails.org/2006/5/11/deploying-rails-on-windows-servers -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---