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-directory>E:/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

Reply via email to