> From: Andrew Connick [mailto:[EMAIL PROTECTED]
> Subject: Re: Problems with jsp include files in sub-directories
>
> <Host name="windsor-chamber.co.uk"
> appBase="/home/andrew42/public_html">
> <Alias>www.windsor-chamber.co.uk</Alias>
> <Context path="" reloadable="true"
> docBase="/home/andrew42/public_html"
> debug="1"/>
> </Host>
>
> Which doesn't quite fit with your example

Actually, it does.  You must not have the appBase equal to the docBase; that 
has never been correct, although some older versions of Tomcat tolerated it 
accidentally.

The proper way to set this up is to have appBase="/home/andrew42" and remove 
the <Context> element from server.xml.  Rename your public_html directory to 
ROOT to have it be the default webapp for the <Host>.  Then create a file named 
/home/andrew42/ROOT/META-INF/context.xml containing the following:

<Context reloadable="true" debug="1"/>

Note that the path and docBase attributes are not used.

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