> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] 
> Subject: Context Path for a subdirectory

> If I have a webapp, with a www directory, and in that www directory 
> are other directories, how would I restrict access to one of those 
> subdirectories to the localhost?

Probably your best bet is to use a filter for the webapp to which those 
subdirectories belong.

> Is the context path of directory1:  /webapp1/directory1

No, it's /webapp1/www/directory1.

> Would I create a context named directory1.xml such as the following?

Absolutely not.  A webapp can never be nested inside another, so what you're 
trying to do is nonsensical.

 - 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to