tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Disabling Apps in host root
Date Mon, 05 Dec 2011 10:09:37 GMT
On 04/12/2011 23:52, Caldarale, Charles R wrote:
>> From: Jerry Malcolm [mailto:2ndgenfilms@gmail.com] 
>> Subject: Disabling Apps in host root
> 
>> When I start tomcat
> 
> What exact version?  We're not mind-readers, and capabilities vary considerably depending
on what level you're on.
> 
>> it tries to start an app for every folder in the 
>> host root directory.
> 
> What do you mean by "host root directory"?  Do you really mean the <Host> appBase
directory?  Be precise.
> 
>> Some folders are really apps (with WEB-INF), and 
>> some are folders that are not apps at all.
> 
> Then why are the non-apps folders there?

+1  If you don't want them published, don't put them where they can be
published.


p

>> But it doesn't seem to care if there is a context or not.
> 
> Correct; nothing in the spec requires the existence of a <Context> element or even
WEB-INF/web.xml.
> 
>> Is there a way to control the apps that start up
> 
> Look at the deployIgnore attribute of the <Host> element:
> 
> http://tomcat.apache.org/tomcat-7.0-doc/config/host.html
> 
>  - 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 unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


-- 

[key:62590808]


Mime
View raw message