tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Virtual hosts
Date Thu, 08 Nov 2007 03:46:21 GMT
> From: Rocco Scappatura [mailto:Rocco.Scappatura@sttspa.it] 
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message