On 3/18/07, Vincent Massol <vincent(a)massol.net> wrote:
On Mar 17, 2007, at 3:33 AM, erockx wrote:
I actually do want the xwiki app to be deployed to the root context.
Unfortunately, I don't have the ability through my hosting serviece
to setup
mod_redirect. Is there some way I can set this up?
I currently have 1.0-beta-5 installed, but I'd be willing to go to the
repository to get another version if necessary to make this happen.
Currently xwiki cannot be deployed to the root context. You have to
deploy it to the "xwiki" context.
I deployed several XWiki instances in other contexts than xwiki, including
one as ROOT. With a little tuning, you can make it work. The only major
thing that needs to be changed is the display-name property in
WEB-INF/web.xml to an empty value, like:
<display-name></display-name>
If you are using the default database from the beta5, most things should be
working already. Not all the hardcoded references to the 'xwiki' webapp have
been checked though, so there might be cases where things don't work, but
this is limited to some pages or API calls that usually are not used (at
least I never needed them).
That said I noticed we had a META-INF/context.xml file with a context
of "/". I'll find out why. In the
meantime, try to remove that file
if you're deploying on Tomcat (if you're not deploying on Tomcat this
file won't be used).
It seems to work fine with it, anyway.
Thanks
-Vincent
Sergiu
--
http://purl.org/net/sergiu