Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: appBase & docBase in <Host> element in server.xml

Caldarale, Charles R

2006-12-13

Replies:

> From: news [mailto:news@(protected)
> Subject: Re: appBase & docBase in <Host> element in server.xml
>
> And i got a question here, is the docBase must be a
> subdirectory in the webapps?

No - for examples of where the specified docBase is not a subdirectory
of the appBase value, look at Tomcat's built-in manager and html-manager
apps (and admin if you have it installed). Their <Context> elements are
in .xml files in conf/Catalina/localhost, but the apps themselves are in
server/webapps to separate them from a site's production apps (note that
Tomcat 6 no longer isolates them).

> Or Could you describe more details about the docBase and
> appBase stuff?

I think I already wrote this up for you in a different thread yesterday:
http://marc.theaimsgroup.com/?l=tomcat-user&m=116597308303297&w=2

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.