rubynewbie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Aug-10 16:39 UTC
Static HTML in rails application
Hi all, can anyone tell me the easiest way to include some static html pages (generated by latex2html) to a rails application? The problem is that rails tries to route all those static links which leads to errors. Thanks, Frank --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi Frank, I think you should set this up in your web server. If you''re using Apache + Mongrel, check what gets routed to the mongrel cluster and remove the URLs that you want to be served directly by Apache. It''s a similar to handling images, CSS, etc. Amir --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---