-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matt,

Matthew wrote:
> ...get an answer to the following:
> 
> For Tomcat 5.5.20, how do I configure virtual hosts using a context.xml
> file in the META-INF directory (of each domain's .war file) as opposed
> to having to do the following in server.xml....
> 
> <Host name="domain.com" appBase="" .....>
>    <Context path="" docBase="webapps/domain"/>
> </Host>

You cannot configure virtual hosts in context.xml files.

If you want to do this, you'll probably have to write a ton of code to
make Tomcat work in a different way and install that into the server's
libraries. It's far easier to configure virtual hosts using the
configuration the way it was intended.

- -chris

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

iD8DBQFGASsp9CaO5/Lv0PARArvgAJ4sDL50G/IBoYDoiZ1fP7hgRUU/0QCgmhdU
coocpO6K4Vfk9b3z389+zng=
=fmuO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to