Hi guys.. I am deploying a new rails 3 app. For this i am using rails 3, thin and apache.
But for hours now i have a problem with the public dir. It cannot be accessed beceause it is filtered by the route file. I have in my routes file the following: match '/:id(/*path)' => "websites#index" it is obvious that this makes nice url /23/helloWorld etc. In development mode there is no problem. When i switch to production however this method is called. And beceause for example the image.png id doesn't exist it redirects to / does anybody know why this happens? (why doesn't the app first check the public folder!) thanxs! -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.