>> 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)
>>
>>
>>
>> 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.
>
> Alias is a subelement of Host in server.xml, not context.xml.
>
> Rename your application ROOT.war and deploy it in the appbase of your
> virtual host.

How our dear friend Hassan well knows, I have a similar problem..

I would to point out other two difficulties:

1) What's happen if I have 2 app which I want to assign the root URL? Sure
I can't rename both WARs as ROOT.war... :-(

2) Suppose that I have another level inside the root webapps dir (eg:
http://mysite.com:8080/toto/subdir/hello.jpg) and I would like to access
to the URL above with http://alias1.com:8080/hello.jpg. How I behave
myself in this situation? :-(((((

Regards,

rocsca


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