Re: [Resin-interest] 3.1.1: webapp directory cannot be the same as hostroot directory?

2007-05-24 Thread Andy Duplain
On Wed, May 16, 2007 at 05:09:03PM +0100, Andy Duplain wrote:
 On Wed, May 16, 2007 at 11:02:44PM +0800, Liao Xuefeng wrote:
  i use:
  
  host id=localhost root-directory=.
web-app id=/ root-directory=E:/path/to/dir/
   /host 
  
  and Resin 3.1.1 works.
 
 Not sure that would work - the idea being that the root directories for
 both hosts are outside of resin-home and so need to be specified
 as something other than . .

Actually that was exactly the answer and it is now working perfectly - many
thanks Liao.

Cheers,
Andy



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] 3.1.1: webapp directory cannot be the same as hostroot directory?

2007-05-16 Thread Liao Xuefeng
i use:

host id=localhost root-directory=.
  web-app id=/ root-directory=E:/path/to/dir/
 /host 

and Resin 3.1.1 works.

Yours
sincerely.

Liao Xuefeng

Email: [EMAIL PROTECTED]
Website: http://www.javaeedev.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Duplain
Sent: Wednesday, May 16, 2007 9:23 PM
To: Resin Interest Mailing List
Subject: [Resin-interest] 3.1.1: webapp directory cannot be the same as
hostroot directory?

Hi, I am using virtual hosting to host 2 sites via resin 3.  Each host is
configured something like this:

host id=localhost
  root-directoryE:/path/to/dir/root-directory
  web-app id=/ root-directory=E:/path/to/dir/ /host

This works fine in Resin 3.1.0, but in 3.1.1 I am getting a complaint that
the web-app root directory cannot be the same as the host directory.  This
was the only way I could find to get .jsp files served correctly outside of
a dedicated web-app, so how do I do it right in 3.1.1?

Cheers,
Andy


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] 3.1.1: webapp directory cannot be the same as hostroot directory?

2007-05-16 Thread Andy Duplain
On Wed, May 16, 2007 at 11:02:44PM +0800, Liao Xuefeng wrote:
 i use:
 
 host id=localhost root-directory=.
   web-app id=/ root-directory=E:/path/to/dir/
  /host 
 
 and Resin 3.1.1 works.

Not sure that would work - the idea being that the root directories for
both hosts are outside of resin-home and so need to be specified
as something other than . .

Cheers,
Andy



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest