> From: Rocco Scappatura [mailto:[EMAIL PROTECTED] 
> Subject: Virtual hosts
> 
> I would like to know if is there a similar concept to the 
> 'VirtualHost' directive of Apache, in Tomcat.

It's not by any means identical, but the Tomcat documentation for the
concept is here:
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

> Suppose then that I would like to give full access to the URL:
> http://<hostname>/path/subpath
> and deny access to
> http://<hostname>/path

You need to read the security section of the servlet spec.  You can
control access via URL pattern matching pretty much any way you want.

 - 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