> Hi everyone
>
> Summary: i can't access the slide webdav functionality with the web.xml
> file below from Windows using IE5.5's open as web folder (NT 4  and 2000
> machines), but i can via Windows 2000 network neighbourhood, and via the
> slide command line client. I can use the IE5.5 open as webfolder
> functionality with slide.war (plain vanilla configuration).
>
> I'm using a custom Domain.xml file, SlideRealm, and web.xml, and can't
> figure out why i'm getting this odd behaviour with one client only, and
> then only when i don't use a vanilla setup.
>
> My webapp is called TestDrive, and my web.xml contains:
>
> <servlet>
>      <servlet-name>webdav</servlet-name>
>      <servlet-class>org.apache.slide.webdav.WebdavServlet</servlet-class>
>      <init-param>
>        <param-name>debug</param-name>
>        <param-value>0</param-value>
>      </init-param>
>      <init-param>
>        <param-name>namespace</param-name>
>        <param-value>TestDrive</param-value>
>      </init-param>
>      <load-on-startup>1</load-on-startup>
>    </servlet>
>
>
> <!-- The mapping for the Slide WebDAV servlet -->
>    <servlet-mapping>
>      <servlet-name>webdav</servlet-name>
>      <url-pattern>/protected/webdav/*</url-pattern>
>    </servlet-mapping>
>
> I am also using SlideRealm, with:
>   <security-constraint>
>      <web-resource-collection>
>        <web-resource-name>TestDrive resource</web-resource-name>
>        <url-pattern>/protected/*</url-pattern>

The DAV servlet is mostly unsupported if it's not mapped as the default
servlet in a context. Ie, it may work, but it's untested.
WebdavMethod.getRelativePath is in charge of extracting the relative path,
so the root of the problem may be there.

However, I don't really understand why it way working some time ago but not
anymore. Except for the URL decoding, there haven't been any changes in that
part of the code for a while. I don't think the problem comes from the URL
encoding (and I've seen the webfolders behave really weird in lots of
situations; the logs are really strange too). I'll do some testing and try
to come up with a rational explanation.

Remy

Reply via email to