You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jonathan Mast <jh...@gmail.com> on 2008/09/05 21:14:53 UTC
Yet another context logging question
Hello all,
I have Context named "foo" whose path is "/foo" and whose docbase is
DOCS/foo. foo has it's own AccessLogValve
Foo has a subdirectory "bar" which I would now like to be it's own Context
and AccessLogValue.
My question is: Will defining a context "/foo/bar" at DOCS/foo/bar, with
it's own LogValue, keep Foo's LogValve from capturing requests for Bar's
files?
Java 1.4.2
Tomcat 5.5
Thanks,
jhm
Re: Yet another context logging question
Posted by Mark Thomas <ma...@apache.org>.
Caldarale, Charles R wrote:
>> From: Jonathan Mast [mailto:jhmast.developer@gmail.com]
>> Subject: Yet another context logging question
>>
>> Foo has a subdirectory "bar" which I would now like to be
>> it's own Context and AccessLogValue.
>
> Such a configuration is not supported - webapps may not be nested. Whatever results you get will be purely accidental and not necessarily repeatable from one Tomcat level to the next.
You can't deploy one web app that is located within the docBase of another
but you can deploy /foo and /foo/bar at the same time. The easiest way to
do this with Tomcat 6.0.18+ is to name your WARs foo.war and foo#bar.war
and place them in the host's appBase.
Mark
---------------------------------------------------------------------
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
RE: Yet another context logging question
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jonathan Mast [mailto:jhmast.developer@gmail.com]
> Subject: Yet another context logging question
>
> Foo has a subdirectory "bar" which I would now like to be
> it's own Context and AccessLogValue.
Such a configuration is not supported - webapps may not be nested. Whatever results you get will be purely accidental and not necessarily repeatable from one Tomcat level to the next.
- 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org