tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Two applications, one in a sub folder - Urgent help needed
Date Fri, 25 Jun 2010 11:21:36 GMT
On 25/06/2010 12:19, Pid wrote:
> On 25/06/2010 12:02, abhishek jain wrote:
>> On Fri, Jun 25, 2010 at 4:26 PM, Mark Thomas <markt@apache.org> wrote:
>>
>>> On 25/06/2010 11:50, Pid wrote:
>>>> On 25/06/2010 11:46, abhishek jain wrote:
>>>>> hi
>>>>> thanks for the email,
>>>>> but the path is like
>>>>>   /usr/local/share/apps
>>>>>
>>>>> and for the second application:
>>>>>
>>>>>   /usr/local/share/apps/app2
>>>>>
>>>>> i mean it is a subfolder.
>>>>>
>>>>> will this still work?
>>>>
>>>> Depends which Tomcat version you actually have.  I don't think
>>>> multilevel paths are supported in 5.0.n, (but I might be wrong).
>>>
>>> It isn't (but that doesn't matter). Overlapping values for docBase are
>>> never valid. This configuration cannot work.
>>>
>>>
>> but are the overlapping values of context path valid, ?
> 
> Depends on which version of Tomcat you have.

Actually, overlapping context paths are always valid. Consider:
/
and
/docs

> And whether you've configured it correctly.

+1. Especially if you want /my/context/path

Correct varies by version.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message