You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by lightbulb432 <ve...@hotmail.com> on 2007/06/13 17:00:09 UTC
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?
Thanks.
--
View this message in context: http://www.nabble.com/Directory-listings-on-a-per-context-level-tf3915251.html#a11101399
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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: Directory listings on a per-context level
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: lightbulb432 [mailto:veerukrishnan@hotmail.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org