# tomcat-users mailing list archives

##### Site index · List index
Message view
Top
From mookiegp <mikey...@yahoo.com>
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
happens.

Here's a link to a screenshot of Firefox and IE. One working with default
configuration and one when I make the change.
http://66.39.112.245/tmp/tomcat-screenshot.jpg
http://66.39.112.245/tmp/tomcat-screenshot.jpg

Is there other conf file I need to change?

Caldarale, Charles R wrote:
>
>> From: mookiegp [mailto:mikeyggu@yahoo.com]
>> 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
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>

--
View this message in context: http://www.nabble.com/Tomcat-6-Context-Configuration-tp19616289p19619365.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org