Hello All, i have strugled in connection between java(jdk1.6_17) and ruby on rails under Webrick server... I am using IDE netbeans( version 7 ). dats why i need configure with apache (wamp 2.0)..i saw some tutorials about configuring.. (http://stackoverflow.com/questions/3192461/how-to-configure-ruby-on-rails-with-apache) but it''s not working.I am not getting any errors... but my project is on wrking on webserver....can anyone help me.. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Paulo Muggler Moreira
2011-May-17 13:38 UTC
Re: how to configure ruby-on-rails with apache
What environment are you coming from? Unix, Mac, Windows? Let''s assume you''re using some Unix variant, as you should, and Apache2 is already properly installed: 1. install phusion passenger: $ gem install passenger 2. install passenger-apache2-module: $ passenger-install-apache2-module Be sure to read what the passenger-install-apache2-module command output is telling you, in the end it will give you some lines you have to put in some apache configuration files, if you miss that, it won''t work. At all. 3. configure your vhosts.conf to define a hostname for your application, point to your application''s public folder, etc. http://httpd.apache.org/docs/2.0/vhosts/examples.html 4. Profit. WebRick is not for production environments at all, in fact, it''s not really good for development either, if you intend on doing some slightly more complex stuff with your rails applications. Other than that, you didn''t really give enough detail about your problem, so I hope this answer at least points you in the right direction. regards, Paulo Muggler On Tue, May 17, 2011 at 10:10, ashwini patel <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hello All, > > i have strugled in connection between java(jdk1.6_17) and ruby on rails > under Webrick server... I am using IDE netbeans( version 7 ). dats why i > need configure with apache (wamp 2.0)..i saw some tutorials about > configuring.. > ( > http://stackoverflow.com/questions/3192461/how-to-configure-ruby-on-rails-with-apache > ) > but it''s not working.I am not getting any errors... but my project is on > wrking on webserver....can anyone help me.. > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.