[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread Charles F. Munat
Thanks. I'll play around with this. Chas. Marius wrote: > In tomcat you usually have a webapps/ROOT folder. Try putting you > webapp in this ROOT folder (unarchived). > > If that does not work, try looking into server.xml for path="" docBase="ROOT" debug="0"/>. Try change your docBase to the >

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread Marius
hmm .. I though I hit send but my response didn't seem to make it. 1. Try to unwar your app in webapps/ROOT folder 2. Try to set . You can do this in server.xml or context.xml Br's, Marius On Oct 27, 9:00 pm, "Charles F. Munat" <[EMAIL PROTECTED]> wrote: > Not sure I understand. How does one d

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread Marius
funny my old post went through ... (sorry for the spam) On Oct 27, 9:41 pm, Marius <[EMAIL PROTECTED]> wrote: > In tomcat you usually have a webapps/ROOT folder. Try putting you > webapp in this ROOT folder (unarchived). > > If that does not work, try looking into server.xml for path="" docBase=

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread Marius
In tomcat you usually have a webapps/ROOT folder. Try putting you webapp in this ROOT folder (unarchived). If that does not work, try looking into server.xml for . Try change your docBase to the folder of your webapp. You can alsouse context.xml but depends on your tomcat version where this shoul

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread Charles F. Munat
David Pollak wrote: > Is having the context path a bad thing in the URL presented to the > user? http://foo.com/foo/xxx ? It might not be in all cases, but in my case it's a show-stopper. I'm going to have to figure out a way around this really quickly -- I've got to go live with this today.

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread Charles F. Munat
Not sure I understand. How does one do that? Do you have a link? (I'll start looking.) Would that still permit multiple Lift apps in the same servlet container, or would I have to run one Tomcat each? Chas. Marius wrote: > Why don't deploy your app using root context "/" in tomcat? > > On Oc

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread Marius
Pre-pending context path is a VERY GOOD thing. David we can probably move prepending context path in LiftRules.urlDecorate ... the default implementation will prepend context path but if one wants to do something else they it;s very easy to do. This would imply to change a bit URLDecorator but tha

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread Marius
Why don't deploy your app using root context "/" in tomcat? On Oct 27, 8:45 am, "Charles F. Munat" <[EMAIL PROTECTED]> wrote: > I've deployed a beta version of my app to Tomcat, so it's available at > localhost:8080/xxx/ > > Then I proxied Apache over to localhost:8080/xxx/ > > And it works. > >

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread David Pollak
Lift automatically takes care of prepending the context path to URLs that Lift rewrites. I had worked on a way around it, but have not finished the work. Is having the context path a bad thing in the URL presented to the user? http://foo.com/foo/xxx ? On Mon, Oct 27, 2008 at 2:43 AM, Charles F.

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread Charles F. Munat
In vhosts.d/xxx.conf: ServerName beta.xxx.org ServerAlias beta.xxx.org www.beta.xxx.org DocumentRoot /var/lib/tomcat6/webapps/xxx/ AddDefaultCharset utf-8 Options -Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all RewriteEngine

[Lift] Re: deployment hassles with multiple sites

2008-10-27 Thread David Bernard
How do you configure you're apache proxy ? On Mon, Oct 27, 2008 at 7:45 AM, Charles F. Munat <[EMAIL PROTECTED]> wrote: > > I've deployed a beta version of my app to Tomcat, so it's available at > localhost:8080/xxx/ > > Then I proxied Apache over to localhost:8080/xxx/ > > And it works. > > But