I want http://m.harryh.org to visit a mobile version of my site so I
added the following rewrite rule:

case RewriteRequest(path, _, req) if
(req.serverName.toLowerCase.startsWith("m.")) => {
      RewriteResponse(ParsePath("mobile" :: path.partPath,
path.suffix, path.absolute, path.endSlash), emptyMap, true)
}

This also makes the mobile site appear at http://harryh.org/mobile/
which I don't really want.  Is there any way I can accomplish this
goal (other than putting the mobile site in a weird path like "/
someRandomGuid/"

-harryh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to