Mixing Rails with Static Website?

I spent the last 10 years working hard to establish search engine
ranking for my static website of which I’ll call www.company.com. My
ambition is to keep my static web pages ( to NOT lose my search engine
positioning ) and run my Rails application around it.

When the user clicks on www.company.com they’ll be taken to the static
index.html page which will have a link to ‘Try my Cool Software’.
Clicking this will take them into the Rails app. I’m hoping that even
though my index.html is in the public folder that when Mongrel sees an
http request that it can handle, it’ll jump in and do its job.

Any ideas?



That is exactly how it works out of the box. In fact, create a new
rails app and you'll see a static html file called index.html