Hello All, I have installed rvm ,ruby, rails ,passenger and apache2 on an Ubuntu 11.10 VPS. I have scaffolded a rails application and changed config of apache to point to it. When I entered my site from a browser I got the default rails page. When I removed the index.html file from the public folder I got a 404 error. When I changed my config.ru file to include the demo "hello world" rack app from the passenger-pushion site , I got the message displayed correctly on my browser. So what do I still miss to make my scaffold app run in response to browser input ? Thanks, David -- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/tYe4wKWVh90J. For more options, visit https://groups.google.com/groups/opt_out.
kramf wrote in post #1072156:> Hello All, > I have installed rvm ,ruby, rails ,passenger and apache2 on an Ubuntu > 11.10 > VPS. I have scaffolded a rails application and changed config of apache > to > point to it. When I entered my site from a browser I got the default > rails > page. When I removed the index.html file from the public folder I got a > 404 > error. When I changed my config.ru file to include the demo "hello > world" > rack app from the passenger-pushion site , I got the message displayed > correctly on my browser. So what do I still miss to make my scaffold app > run in response to browser input ? Thanks, DavidI didn''t see mention of you setting up a "root" route. Did you do that? -- 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 https://groups.google.com/groups/opt_out.