tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rocco Scappatura" <Rocco.Scappat...@sttspa.it>
Subject Virtual hosts
Date Thu, 08 Nov 2007 01:19:50 GMT
Hello,

I would like to know if is there a similar concept to the 'VirtualHost'
directive of Apache, in Tomcat.

I have set up a web app that respond at the URL http://<hostname>/path

I'ld like to masquarade ti url with another one of the form
http://<anotherhostname>. It is possible to do so in Tomcat?

Suppose then that I would like to give full access to the URL:

http://<hostname>/path/subpath

and deny access to

http://<hostname>/path

How could I do? If I apply protection with password I will restrict access
also to the 'long' url. Other wise I give full access to the 'short' URL
to the world!!!

Thanks,

rocsca


---------------------------------------------------------------------
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