You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Sheerman <c....@uws.edu.au> on 2001/11/12 08:07:04 UTC

How do you get Tomcat to...

Hi
How do you get Tomcat to use another directory as it's root ....in other 
words,  how would point it  to say c:\temp\myprograms instead of 
 ....\webapps?

-- 
Regards

Chris

*******************************************************************
Mr Chris Sheerman
Desktop Support Officer - Networked Systems
School of Computing and Information Technology
College of Science, Technology and Environment
University of Western Sydney
Locked Bag 1797
Penrith South DC NSW 1797

Tel: +61 2 47360774
FAX: +61 2 47360770
*******************************************************************

http://www.cit.uws.edu.au/~chris/



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: How do you get Tomcat to...

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 12 Nov 2001, Chris Sheerman wrote:

> Date: Mon, 12 Nov 2001 18:07:04 +1100
> From: Chris Sheerman <c....@uws.edu.au>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: tomcat-user@jakarta.apache.org
> Subject: How do you get Tomcat to...
>
> Hi
> How do you get Tomcat to use another directory as it's root ....in other
> words,  how would point it  to say c:\temp\myprograms instead of
>  ....\webapps?
>

For all versions of Tomcat, you can use an absolute pathname to a
directory as the "docBase" attribute of the <Context>.

If you want to change the directory in which Tomcat automatically
recognizes web applications, you can do that (Tomcat 4 only) by setting
the "appBase" parameter of the <Host> element.


> --
> Regards
>
> Chris
>

Craig


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>