On Tue, 18 Dec 2001, Dieter Kaltenbach wrote:

> Date: Tue, 18 Dec 2001 10:32:37 +0100
> From: Dieter Kaltenbach <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Contexts with relative and absolute DocBase?
>
> Hi,
>
> how can I use relative and absolute docBase-Context-settings for
> Contexts of the same Host?
> Something like this doesn't work.
>
> <Host name="localhost" appBase="webapps" debug="0" >
>       <Context docBase="ROOT" path=""/>
>       <Context docBase="examples" path="/examples"/>
>       <Context docBase="tomcat-docs" path="/tomcat-docs"/>
>       <Context docBase="webdav" path="/webdav"/>

So far, these are all relative and should work fine.

>       <Context docBase="C:\tmp" path="/mywebapp" reloadable="true"/>

Windows is notorious for messing up paths -- try "c:\\tmp" or "c:/tmp" as
well.

> </Host>
>
> I don't want to create another host nor put my webapps to the tomcat
> webapps directory but to my
> own directory tree.
>

The other othing you can do is look in the log files to see what errors
Tomcat is complaining about -- it *might* be something unrelated.  You can
post the relevant portions of the logs here if needed.

> Thanks, Dieter.
>

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to