> From: lightbulb432 [mailto:[EMAIL PROTECTED] 
> Subject: Directory listings on a per-context level
> 
> I've set listings to true on TOMCAT_BASE/conf/web.xml's 
> DefaultServlet, but that allows directories to be seen 
> for all contexts. Is there a way to set directory
> listings for certain contexts but not others?

You can copy the DefaultServlet configuration to the WEB-INF/web.xml of
each webapp that's different from your desired default and override the
default in each such webapp.

 - 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to