Hi Karsten,


On Thu, Dec 18, 2008 at 9:06 PM, Karsten Nielsen <[email protected]> wrote:

> Hi Asiri
>
> The problem has 2 aspects it seams.
>
> 1. The problem turned out not to be a vista problem but an microsoft
> office 2007 issue. I have googled for a solution and what I found was to
> copy xwiki to tomcat's ROOT directory but xwiki webdav does not like that.
> the $xwiki.webdav.getURL() returns nothing.
>

You should use the xwiki-root-webapp which was exactly meant to solve this
problem [
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/tools/xwiki-rootwebapp/1.1-SNAPSHOT/xwiki-rootwebapp-1.1-20081218.144304-589.war
]

Deploy this war file as your root webapp and deploy the xwiki webapp as
usual and you are good to go.


2. If I try to use the latest xwiki-webdav-1.8-20081218.123600-108.jar I
> get this error when I try to reload my xwiki


Sorry, I should have mentioned this but didn't came into mind. The latest
webdav version Uses XWikiDavFilter and XWikiDavServlet instead of DavFilter
& DavServlet. So you need to edit your web.xml file accordingly. Open your
/webapps/xwiki/WEB-INF/web.xml and find the following entries :

<!-- Filter used to 'steal' webdav requests made to the application root -->
<filter>
  <filter-name>DavFilter</filter-name>
  <filter-class>com.xpn.xwiki.plugin.webdav.DavFilter</filter-class>
</filter>

AND

<!-- WebDAV servlet -->
<servlet>
  <servlet-name>webdav</servlet-name>
  <servlet-class>com.xpn.xwiki.plugin.webdav.DavServlet</servlet-class>
</servlet>

Then change them to :

<!-- Filter used to 'steal' webdav requests made to the application root -->
<filter>
  <filter-name>DavFilter</filter-name>
  <filter-class>com.xpn.xwiki.plugin.webdav.XWikiDavFilter</filter-class>
</filter>

AND

<!-- WebDAV servlet -->
<servlet>
  <servlet-name>webdav</servlet-name>
  <servlet-class>com.xpn.xwiki.plugin.webdav.XWikiDavServlet</servlet-class>
</servlet>

I think you need to do both of these tasks to make it work. I'm sorry about
having to drag you this long but it's a feature we haven't released yet, so
there is some trouble... ;)

- Asiri
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to