On Thursday, June 2, 2011 6:53:09 AM UTC-4, Sta Canovist wrote: > Right now Im thinking that the url-requests are managed by apache. And > that apache doesnt understand that this is a ROR app? Is that the > problem maybe??? And does anyone know how to make apache understand > that that one is a ruby app?? > > Yes, that's the problem.
Unlike PHP, your Rails app needs to run as a server listening on a port. You can't just point Apache to your Rails directory. You can use any number of servers to accomplish this (WEBrick, thin, passenger). The simplest way to start your rails application is by running "rails server" from within your rails application directory. I think the current preferred setup for production environments is using Phusion Passenger, which can run as an Apache module. Check out the documentation here: http://www.modrails.com/documentation.html -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/OVItOEN2OHNTTm9K. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

