rails: routing problems?
Posted by: dakic
Posted on: 2006-04-02 11:47:00
Hi,
after uploading newer version of my app, carefully avoiding config, but overwritting public, and fixing things I messed this way, everything started working except all my images and stylesheets are not displaying. When I enter it directly, for example DreamHost banner http://www.onerandomsite.com/images/468x60-e.gif
I get 404 error. Image is there, all small letters etc, but for some reason it doesn't pick it up. This used to work before.
Anyway, anything I was able to find that might bring any light to this is following from my production.log
ActionController::RoutingError (Recognition failed for "/images/468x60-e.gif"):
/vendor/rails/actionpack/lib/action_controller/routing.rb:469:in `recognition_failed'
/vendor/rails/actionpack/lib/action_controller/routing.rb:459:in `recognize!'
/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
/vendor/rails/railties/lib/fcgi_handler.rb:141:in `process_request'
/vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!'
/vendor/rails/railties/lib/fcgi_handler.rb:52:in `each_cgi'
/usr/lib/ruby/1.8/fcgi.rb:597:in `each'
/usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'
/vendor/rails/railties/lib/fcgi_handler.rb:52:in `process!'
/vendor/rails/railties/lib/fcgi_handler.rb:22:in `process!'
dispatch.fcgi:34
If anyone would have some idea what might be wrong and where to look, I would greatly appreciate.
I also checked permissions and they seem ok.
Help ! :)
Zeljko