Hello, I''m desperatly trying to install an app with phusion passenger. I''ve already spent 2 days with no success, can somebody help me, please ? Here is my problem : I already installed phusion passenger with no problem. It''s running on apache2 on ubuntu 8.10. I configured everything as mentioned on passenger''s website, but i only get a 404 error, whatever url i try... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Sat, Feb 14, 2009 at 1:53 PM, landry soules <landry.soules.ruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello, > > I''m desperatly trying to install an app with phusion passenger. I''ve > already spent 2 days with no success, can somebody help me, please ? > Here is my problem : > I already installed phusion passenger with no problem. It''s running on > apache2 on ubuntu 8.10. > I configured everything as mentioned on passenger''s website, but i only > get a 404 error, whatever url i try...Not enough information! Have you renamed, or moved public/index.html Have you set the route to the controller that gets the first request? Have you read your log files (for rails and for apache)? So many questions. Not enough information. Cheers-- Charles --~--~---------~--~----~------------~-------~--~----~ 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 usually means your app is failing. Check your log and debug. On Feb 16, 12:30 am, Charles Johnson <gm.johns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sat, Feb 14, 2009 at 1:53 PM, landry soules <landry.soules.r...@gmail.com > > > wrote: > > > Hello, > > > I''m desperatly trying to install an app with phusion passenger. I''ve > > already spent 2 days with no success, can somebody help me, please ? > > Here is my problem : > > I already installed phusion passenger with no problem. It''s running on > > apache2 on ubuntu 8.10. > > I configured everything as mentioned on passenger''s website, but i only > > get a 404 error, whatever url i try... > > Not enough information! > > Have you renamed, or moved public/index.html > Have you set the route to the controller that gets the first request? > Have you read your log files (for rails and for apache)? > > So many questions. Not enough information. > > Cheers-- > > Charles--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi,
You are not giving enough information, however, I have installed
passenger little time ago, If you "...installed phusion passenger with
no problem...." the only thing that could be wrong is your passenger
configuration:
1- Have you edited your http.conf file, and added the lines that
passenger installed gives you? your http.conf file have to look
something like this:
...
...
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/
passenger-2.0.3/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.3
PassengerRuby /usr/bin/ruby
<VirtualHost 69.74.161.173:80 *>
ServerName www.mydomain.com
DocumentRoot /home/user/public_html/railsapp/public
</VirtualHost>
NOTE: The "loadModule" line must be at the begining of your http.conf
file
2- The "ServerName" and "DocumentRoot" values are right?
3- Have you restarted apache?
4- If you are working with your local machine(localhost), you must
consider to configure the vhost file too. Here are som info(it is for
mac but will give you an idea
http://mark-kirby.co.uk/2008/setting-up-virtual-hosts-on-os-x-leopard/)
Please check, all this info, and verify that all are correct.
regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Another thing, 1- have you created all the databases that your app needs? 2- have you installed all the gems ect that your ap needs? Check your log file --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks a lot for your support, guys. It appears that actually i was messing with my apache config. Probably because i didn''t properly configure vhost file (my problem disappeared since i finally bought a domain name ! ) Next time, i''ll do better my home work before posting dumb questions :-) Best regards. Landry fRAnKEnSTEin wrote:> Another thing, > > 1- have you created all the databases that your app needs? > 2- have you installed all the gems ect that your ap needs? > > Check your log file > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---