tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Courcy <michael.cou...@gmail.com>
Subject Re: placing context.xml in META-INF works?
Date Thu, 19 Oct 2006 09:42:51 GMT
Caldarale, Charles R a écrit :
>> From: Michael Courcy [mailto:michael.courcy@gmail.com] 
>> Subject: Re: placing context.xml in META-INF works?
>>
>> How do you manage the problem, if you need to define a Host element 
>> whith many Alias ?
>>     
>
> Hosts are a completely different problem, since they are not subordinate
> to an app.
>
>   
>> Can you put the definition of your Host element in  
>> %TOMCAT_HOME%/conf/[ENGINE]/[HOST]/myApp.xml, and nest the context 
>> definition inside the host definition ?
>>     
>
> No.  Check the doc for the proper hierarchy of elements.
>
> You can programmatically add hosts on the fly - the admin app does it.
>
>  - Chuck
>   
Ok thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message