We need Merb to be handling the static resources rather than the web
server. When I use
Merb::Config.setup(:merb_root => "#{$appRoot}/public"), Merb doesn't
compile any routes, and when I use
Merb::Config.setup(:merb_root => "#{$appRoot}"), Merb doesn't find
static content.On Oct 22, 10:37 pm, "Michael Klishin" <[EMAIL PROTECTED]> wrote: > 2008/10/23 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > > > On a related note, I'm having some difficulty getting merb to properly > > handle static content. It keeps not inserting the "public" into the > > request path (so, for example, requesting "hello_world/stylesheets/ > > master.css rather than "hello_world/public/stylesheets/master.css", > > It's the way it supposed to be. Just point your web server virtual > host root to <application>/public, > not <application>. > -- > MK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
