> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hills
> Subject: Re: Help Configuring Engine/Host/Context
>
> The way I achieve what you're trying to do is to create
> virtual hosts in my servlet.xml file
That's completely unnecessary, unless you want a different set of
webapps for each website. In this case, there's only one website, so
using the default <Host> is adequate.
> Lose the <Context ..> tag - I believe that recent versions of Tomcat
> ignore any <Context ..> tags in server.xml
Not true. Placing them in server.xml is discouraged, but definitely not
ignored. Please read the <Context> docs.
> If you need to include a <Context > tag for your application,
> create a file called "context.xml", put your context info in
> that and place it in a directory called META-INF in your web
> app (ie /data/www/unique/ROOT/META-INF ).
The xml fragment containing the <Context> tag can also go in
conf/Catalina/localhost/<app_name>.xml
if desired. (Or, as a last resort, in server.xml, inside the <Host>
tag.)
- 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 unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]