The context header stuff was removed because it was tottlay broke ;-)

Check LiftRules for the context calculator - you should be able to dynamically set it from whatever value you want. I'll post an example tomorrow if you need one.

Cheers, Tim

Sent from my iPhone

On 14 Feb 2010, at 22:38, Jeppe Nejsum Madsen <je...@ingolfs.dk> wrote:

Hi,

I'm trying to host several lift apps on a single server using jetty
(one context per app) and nginx in front.

I want to have

www.domain1.com goes to lift app localhost/domain1
www.domain2.com goes to lift app localhost/domain2

It seems like what happens is that nginx correctly forwards requests,
but when lift generates links, at adds the context name.

Based on some Googling, I added the X-Lift-ContextPath header, but
this didn't seem to help.

Any examples of such a setup?

/Jeppe

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lift...@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 .



--
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@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