Hi all,
I have added a rails app to a pre-existing static website. I have put
all the legacy content (i.e. html files and images) in the public dir
and sub-dirs as appropriate.
Everything works fine - both the rails app and the static. My problem
is it looks like rails is trying to handle the requests for html files
because I get lots of log entries like the following:
<code>
Processing ApplicationController#index (for 123.456.789.231 at
2008-06-25 17:02:56) [GET]
Session ID: 819a6bbb60000b27fceeee
Parameters: {}
ActionController::RoutingError (No route matches "/somepage.htm" with
{:method=>:get}):
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1441:in `recognize_path''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/
routing.rb:1424:in `recognize''
</code>
I''m using Apache and fcgi. Anyway I can get these requests process
more cleanly?
Thanks,
--~--~---------~--~----~------------~-------~--~----~
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---