KathysKode-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Jun-10 23:39 UTC
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? Thanks, Kathleen --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On Jun 10, 4:39 pm, "KathysK...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <KathysK...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I spent the last 10 years working hard to establish search engine > ranking for my static website of which I’ll callwww.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 onwww.company.comthey’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? > > Thanks, > > Kathleen--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---