Title: RE: Virtual host application directories in Tomcat 3.2 and 4.0

Jonas,

Try using the absolute path in the docBase attribute within the Context element. Hazarding a guess, I would expect if you used a relative path it would be 'relative' to the docBase in the ContextManager element.

Regards,

James

-----Original Message-----
From: Jonas Björnerstedt [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2001 09:58
To: '[EMAIL PROTECTED]'
Subject: Virtual host application directories in Tomcat 3.2 and 4.0


Although I haven't tried it, in Tomcat 4.0 each Host directive can specify
an application base directory (webapps/) for the host. The appBase attribute
specifies for each host where applications will be deployed.

Can the same thing be done in 3.2, if virtual hosts are specified with the
Host directive? The only way I have found for specifying the directory, is
by using the home attribute to the ContextManager directive. This can't be
the right approach, as each host is specified within the ContextManager
directive.

Does anybody have any suggestions?

Jonas



**********************************************************************
This e-mail (including any documents which may accompany it) contains
information which is confidential and may also be privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s) please note that any form of
distribution, copying or use of this e-mail or the information in it
or attached to it is strictly prohibited and may be unlawful.
If you have received this e-mail in error please notify us immediately
by e-mail to [EMAIL PROTECTED] or telephone +44 (0)207 940 1200 and
delete the e-mail.
Please advise immediately if you or your employer do not consent to
Internet E-Mail for messages of this type.
Information or opinions in this message that do not relate to the
business of Windsor plc and/or subsidiary and/or associated companies
shall be treated as neither given or endorsed by it.
**********************************************************************

Reply via email to