Hey guys,

Is there anyway to rewrite from the root path? For instance:

    LiftRules.prependRewrite {
      case RewriteRequest(ParsePath(page, _,_,_), _, _) =>
           RewriteResponse(List("index"), Map("page" -> page.last))
    }

Lift appears to get stuck in some kind of infinite loop when you do
this - however id like to route literally all requests to point?

DPP suggested not using template loading, and to use snippets instead,
but as far as i can see, this is the limitation of rewriting?

Cheers

Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" 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/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to