tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mookiegp <>
Subject RE: Tomcat 6 Context Configuration
Date Tue, 23 Sep 2008 00:44:45 GMT

Ok. I changed the following in C:\Program Files\Apache Software
Foundation\Tomcat 6.0\conf\server.xml

Changed this:
<Host name="localhost"  appBase="webapps"

To this:
<Host name="localhost"  appBase="E:\Public\Files\My Docs\Web\Sites"

Inside the the directory on the E: drive is a copy of the default Tomcat
index.html file for testing purposes. After restarting Tomcat nothing

Here's a link to a screenshot of Firefox and IE. One working with default
configuration and one when I make the change. 

Is there other conf file I need to change?

Caldarale, Charles R wrote:
>> From: mookiegp []
>> Subject: Tomcat 6 Context Configuration
>> I can't seem to figure out where in the configuration
>> files I can change Tomcat to change the path to my web
>> apps on the E drive.
> If you want Tomcat to use just the webapps on your E: drive and not any of
> the normally included ones, then change the <Host> appBase attribute to
> point to the directory under which each of your webapps is installed.
> If you want to keep the webapps that are bundled with Tomcat and add
> yours, then create a file named conf/Catalina/[host]/[appName].xml for
> each webapp; each such file should contain a <Context> element with a
> docBase attribute giving the absolute path to the associated webapp.  (Do
> not use the path attribute; that is determined by the name of the XML
> file.)
>  - Chuck
> 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:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message