I am trying to get Redmine (Ruby on Rails app) to work. It works great when you start with ruby script/server webrick -e production, but I can't get it to work in Apache using Passenger.
Access to http://example.com/redmine returns the Redmine homepage, but clicking any link (or even adding the result /to the URL) in 404. An event occurs according to the Rails log RoutingError. For example, when you open the projects page:ActionController::RoutingError (No route matches "/projects.html" with {:method=>:get})
Redmine Directory /var/www/localhost/htapps/redmine. I followed the documentation at http://www.modrails.org/documentation/Users%20guide.html#_deploying_a_ruby_on_rails_application (section 3.2), so there is a symbolic link in /var/www/localhost/htdocs/redminepointing to ../htapps/redmine/public, and Apache Configuration contains DocumentRoot /var/www/localhost/htdocsand RailsBaseURI /redmine.
What causes the rise of these RoutingErrors?
source
share