Hi,<br><br>I have routes configuration like this:<br><br>map.resources :folders <br><br>map.connect 'change_team/:id/:team_id', :controller => 'whoswho', :action => 'change_team'<br> map.connect 'holiday/reset_line_manager/:id', :controller => 'holiday', :action => 'disconnect'<br>
map.connect 'holiday/list_users/:id', :controller => 'holiday', :action => 'list_users'<br> map.connect 'test', :controller => 'test', :action => 'index'<br> map.connect 'tutorials', :controller => 'categories', :action => 'index'<br>
map.connect 'showvideo/:title', :controller => 'videos', :action => 'title'<br> map.connect 'access/', :controller => 'access'<br> #map.connect "reports/:action", :controller => :reports<br>
map.connect ':controller/:action/:id'<br> map.connect ':controller/:action/:id.:format'<br><br>In development with Mongrel I am able to call <a href="http://domain.com/reports">domain.com/reports</a> but in production I get a 'No route matches "/reports" with {:method=>:get}' error if I call <a href="http://domain.com/apps/reports">domain.com/apps/reports</a>. The production run with Passenger as sub directory (apps).<br>
<br>Is the problem caused because I am running Rails in a sub directory with Passenger?<br><br>Is it because routes work is in an inconsistent way between Mongrel and Passenger?<br clear="all"><br>-- <br>Riccardo Tacconi<br>
Web developer at Wolseley UK <br>VIRTUELOGIC LIMITED (Director)<br><br><a href="http://www.linkedin.com/in/riccardotacconi">http://www.linkedin.com/in/riccardotacconi</a><br><a href="http://riccardotacconi.blogspot.com/">http://riccardotacconi.blogspot.com/</a><br>
<a href="http://twitter.com/rtacconi">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>