Hi,
Tried many things but still can't find a solution.
One thing possible is to make xwiki-webdav a separate servlet. Then we would
have,
webapps
|
|--root (for redirecting)
|--xwiki (xe)
|--xdav (xwiki-webdav)
This way we can keep xwiki-webdav and it's configuration separate from xe,
yet providing access to XE repository via hibernate configuration file. I
haven't deeply looked into this approach yet though.
Any other ideas ?
- Asiri
On Tue, Sep 30, 2008 at 4:02 PM, Asiri Rathnayake <
[EMAIL PROTECTED]> wrote:
> Hi Devs, Ludovic,
>
> I'm faced with the following problem,
>
> Currently xwiki-webdav is deployed under /xwiki/webdav/*. And for this to
> work, we need PROPFIND method to work correctly on following locations { "/"
> , "/xwiki/" , "/xwiki/webdav/*". } For "/" i have written a separate
> xwiki-rootwebapp and it works fine. For "/xwiki/" and "/xwiki/webdav/*" I
> had defined the following servlet mapping elemnts :
>
> <servlet-mapping>
> <servlet-name>xwiki-webdav</servlet-name>
> <url-pattern>/</url-pattern>
> </servlet-mapping>
>
> <servlet-mapping>
> <servlet-name>xwiki-webdav</servlet-name>
> <url-pattern>/webdav/*</url-pattern>
> </servlet-mapping>
>
> Everything was working fine but lately i discovered that none of the static
> content is being served correctly. This is because of the first mapping on
> "/", this seems to overrride the default servet of the container (which
> serves static files). Without the first mapping some webdav clients fail
> because they think the url is not a webdav one.
>
> I'm really stuck here and can't think of a solution, if you have any ideas
> please let me know.
>
> Thanks a lot.
>
> - Asiri
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs