On Nov 22, 2007 10:50 AM, David Gagnon <[EMAIL PROTECTED]> wrote: > http://mysite.com:8080/toto/hello.jpg
> I want to access this URL using the following alias in my browser: > http://alias1.com:8080/hello.jpg (note that the context name TOTO is gone) Rename toto.war to ROOT.war, which signifies the default webapp. > So I need to link a virtual host to an application right? I look to but > alias in the context.xml file .. I haven't found anything to specify my > virtual host. Virtual hosts are specified in server.xml -- and there's a virtual hosting how-to in the docs > I read the doc but since I want to deploy a war using ANT script I not sure > it apply or how it should apply. How you deploy your app really doesn't have anything to do with the configuration. HTH, -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]