[Lift] Re: How to suppress / override / escape context path rewriting?

2009-10-07 Thread Ross Mellgren
Created, thanks! http://github.com/dpp/liftweb/issues/#issue/83 -Ross On Oct 7, 2009, at 11:56 AM, David Pollak wrote: > It's possible, but not easy. Please open a ticket for "exclude > certain paths during URL re-write" and I'll work on it tomorrow. > > On Tue, Oct 6, 2009 at 10:07 AM, Ross

[Lift] Re: How to suppress / override / escape context path rewriting?

2009-10-07 Thread Ross Mellgren
That is a pretty good suggestion, unfortunately my cocktail-napkin example of what I was doing was missing out on the fact that the other application has contextPath "/" -- but, there are some well known prefixes under there so your technique could still work for me, it would just require

[Lift] Re: How to suppress / override / escape context path rewriting?

2009-10-07 Thread David Pollak
It's possible, but not easy. Please open a ticket for "exclude certain paths during URL re-write" and I'll work on it tomorrow. On Tue, Oct 6, 2009 at 10:07 AM, Ross Mellgren wrote: > > I'm deploying a Lift application into JBoss as another WAR alongside > the rest of our application in a separ

[Lift] Re: How to suppress / override / escape context path rewriting?

2009-10-07 Thread AndrewM
Hi, Perhaps a bit of a hack, but a redirect like the following might do the trick: LiftRules.dispatch.prepend(NamedPF("redirect context/mainapp requests to mainapp") { case Req("mainapp" :: page, "", _) => () => Full(RedirectResponse(S.hostAndPath.replace(S.contextPath, "")

[Lift] Re: How to suppress / override / escape context path rewriting?

2009-10-06 Thread Derek Chen-Becker
I don't know of any way to do this currently. If no one else has any ideas, I would open an issue. Derek On Tue, Oct 6, 2009 at 11:07 AM, Ross Mellgren wrote: > > I'm deploying a Lift application into JBoss as another WAR alongside > the rest of our application in a separate WAR, and I'm runnin