[Lift] Mapping virtual directories

2009-12-14 Thread Alex Black
Can anyone recommend a way to map a virtual directory in Jetty/Lift? E.g. I'd like /images to point to a file system location that is not in my project. Is there a simple Jetty mechanism, or Lift configuration for this type of thing? Thx! - Alex -- You received this message because you are

Re: [Lift] Mapping virtual directories

2009-12-14 Thread Timothy Perrett
Two options as I see it. One is: LiftRules.liftRequest.prepend { case Req(your :: path :: Nil, pdf, GetRequest) = false } This will make lift ignore the request path and the servlet container (jetty in this instance) will serve it. Option 2 is to put a front end rewrite in on your