Derek,
/page is parsed to List("page") and /page/ is parsed to List("page",
"index").Unfortunately, the rewrites are applied before the sitemap is in scope, so we can't consult the sitemap during rewrite, but I think there may be a way to write a DispatchPF to intercept List(xxx) and redirect to List(xxx, "index") if that is a legal page. But, my editor will kill me if I don't get Chapter 5, draft 2 done, so I must stop yack shaving/helping people on this list and get back to work. :-) Thanks, David On Fri, Mar 13, 2009 at 2:27 PM, Derek Chen-Becker <[email protected]>wrote: > Hmmm. I thought that this was what normally happened with most web servers > (Jetty included). Are you using SiteMap, by any chance? What is the > difference that you see between a response for /page and /page/ ? > > Derek > > > On Fri, Mar 13, 2009 at 4:33 AM, Charles F. Munat <[email protected]> wrote: > >> >> It would be advantageous for me, given the way I organize my sites, if >> requests for /page were served the same way as requests for /page/, or >> at least /page redirected to /page/. >> >> Is there an easy way to do this? >> >> Thanks, >> Chas. >> >> >> > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
