Rocco Scappatura wrote:
> 
> 
>> On Nov 22, 2007 3:18 PM, Rocco Scappatura <[EMAIL PROTECTED]>
>> wrote:
>>
>>> 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).
>> /roller is a Context path -- /roller/blog is not.
>>
>>> Have you any idea to continue toward the objetive?
>> What *is* the objective??
>>
>> Guessing: if you want a URL like http://example.com/blog, you
>> should get that from installing roller as your default app -- that
>> is, renamed to ROOT.war
> 
> Sure, but / is a context that I don't want loose! As you said, Roller
> become the default Context.
> 
> Instead, I simply would to hide all the administrative aspect of Rolle,
> and to show only the blog. My question is:

I'm not familiar with Roller, so you'd have to explain what
'administrative aspect' means.

It sounds like you have a problem with Roller's layout.


> Suppose that / is the main Context where I run the default web
> application, is it possible either:
> 
> 1) create a nested context /blog - of what I call above 'main context' -
> that access to /roller/blog

But you've already explained that the 'blog' dir in Roller is a sub
directory.
That's not Tomcat's fault, and we've already explained that the only way
to make  *Roller* present '/blog' is to make it the ROOT.war.

If Roller doesn't fit your requirement, don't use it - find something
that does.

However, if you have a default application, you can add a filter or a
servlet that redirects requests for /blog to /roller/blog.


> or
> 
> 2) create a new root context inside a new host - say blog.example.com,
> that  as before access to /roller/blog
>
> (Note that I ve supposed that I have deployed roller and so that /roller
> is a context by itself)

If you create a new host, you also create a new appBase, so you can put
whichever apps you like in it, ROOT, roller, whatever.

> It is possible to achive one of this results?

I'm not sure, really, what your goal actually is.  It seems to change
every time you post.  Please decide and get back to us with a single goal.


p



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


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