Hi everyone, I have a website running, but would like to add a rails app to be accessed as at a specific path of the application e.g.: www.example.com/myrailsapp/ So I have apache configured (using virtualhost to redirect requests to such address and port to my main website, but how can I modify this to also point to my rails app, without messing up the main website. do I need another virtualhost, what is the procedure? plz, let me know if this can be done using mongrel easier, I don''t have any restriction. Many thanks in advance, mf. -- 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 -~----------~----~----~----~------~----~------~--~---
mamad wrote:> Hi everyone, > > I have a website running, but would like to add a rails app to be > accessed as at a specific path of the application e.g.: > www.example.com/myrailsapp/ > > So I have apache configured (using virtualhost to redirect requests to > such address and port to my main website, but how can I modify this to > also point to my rails app, without messing up the main website. do I > need another virtualhost, what is the procedure? > > plz, let me know if this can be done using mongrel easier, I don''t have > any restriction.You can do it easily with Apache and Mongrel if you have mod_proxy installed. You can look at my example in this thread: http://www.ruby-forum.com/topic/102739 You have to read both my replies for the complete solution. I haven''t used Rails with FastCGI before so I don''t know how to configure that setup. -- Michael Wang --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Michael Wang wrote:> You have to read both my replies for the complete solution. I haven''t > used Rails with FastCGI before so I don''t know how to configure that > setup.Many Thanks for your reply Michael, I''ll try it now. -- 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 -~----------~----~----~----~------~----~------~--~---