> On Nov 22, 2007 1:41 PM, Rocco Scappatura <[EMAIL PROTECTED]>
> wrote:
>
>> 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... :-(
>
> Sure you can -- each virtual host should have a unique appBase.
Having two different Context it is possible, I know..
> Again, this is covered in the virtual hosting how-to in the doc.
>
>> 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? :-(((((
>
> Reading the docs would also be useful for this:
> <http://tomcat.apache.org/tomcat-6.0-doc/config/context.html>
Infact, I have read it and I have discovered that I colud define a
"Multi-level context". Maybe it is excactly what I would.
It should suffice to define a new context with:
1) docBase = roller/blog
2) path = /blog (for example)
other than the "one level upper" Context:
1) docBase = roller
2) path = /roller
But I get the sad surprise that indeed roller/blog is not a valid path on
the filesystem. It is merely a path of a context created on the fly from
data cointained in the roller data base (I suppose).
Have you any idea to continue toward the objetive?
Thanks,
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]