tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat 6 Context Configuration
Date Tue, 23 Sep 2008 15:27:22 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mookiegp,

mookiegp wrote:
> <Host name="localhost"  appBase="E:\Public\Files\My Docs\Web\Sites"
> 
> Inside the the [sic] directory on the E: drive is a copy of the default Tomcat
> index.html file for testing purposes. After restarting Tomcat nothing
> happens.

Where exactly did you copy index.html?

If you want files to show up in the root path (http://localhost/), you
have to put them into a directory called ROOT within the appBase
(case-sensitive: use CAPS!). So, you'd need:

E:\Public\Files\My Docs\Web\Sites
E:\Public\Files\My Docs\Web\Sites\ROOT
E:\Public\Files\My Docs\Web\Sites\ROOT\index.html

> Is there other conf file I need to change?

Not exactly; you need to deploy some apps into that appBase of yours ;)

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjZCtoACgkQ9CaO5/Lv0PA2VACdHdJbSgYF8KDUWCqDRjwRdUD1
acsAn3zzJ5J01Iu/X9KNDYaV/wZmF48+
=iEIC
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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


Mime
View raw message