Konqueror as a webdav client?

Peter Gostelow gostelow at global.co.za
Wed Dec 31 03:36:05 GMT 2003


On 30 December 2003 23:59, Simon Hausmann wrote:
> On Wednesday 31 December 2003 02:39, Peter Gostelow wrote:
> > I'm trying to setup a groupware site and very interested in using webdav.
> >
> > http://www.webdav.org/projects/ lists KDE as supporting the webdav
> > protocol, but neither the KDE nor Konqueror site has any webdav info
> > (unless I missed it).
> >
> > Also,
> > http://nestroy.wi-inf.uni-essen.de/Forschung/Publikationen/WETICE99/
> > webdav-client-impl/ offers an interesting browser technique to access the
> > webdav protocol by extending the html form tag.
> >
> > Is there any info on using Konqueror as a webdav client?
> >
> > As an experiment, I enabled the apache server as follows:
> >
> > # WebDav setttings
> > DavLockDB /var/lock/subsys
> > <location /dav>
> > Dav On
> > AuthType Basic
> > AuthName "test site"
> > AuthUserFile /home/www/passwd
> > AuthGroupFile /home/www/group
> > <LimitExcept OPTIONS PROPFIND>
> >   require valid-user admin
> > </LimitExcept>
> > </location>
> >
> > and from konqueror, entered the following url
> >
> > webdav://localhost/dav/index.html
> >
> > which did return index.html and render as expected. However, the server
> > logs suggest something else happened (abreviated here):
> >
> > 127.0.0.1 - "PROPFIND /index.html HTTP/1.1" 405 970
> > 127.0.0.1 - "PROPFIND /index.html HTTP/1.1" 405 970 "-" "user agent"
> > 127.0.0.1 - "PROPFIND /dav/index.html HTTP/1.1" 207 1021
> > 127.0.0.1 - "PROPFIND /dav/index.html HTTP/1.1" 207 1021 "-" "user agent"
> > 127.0.0.1 - "GET /dav/index.html HTTP/1.1" 401 1280
> > 127.0.0.1 - "GET /dav/index.html HTTP/1.1" 401 1280 "-" "user agent"
> > 127.0.0.1 - peter "GET /dav/index.html HTTP/1.1" 200 162
> > 127.0.0.1 - peter "GET /dav/index.html HTTP/1.1" 200 162 "-" "user agent"
>
> What other method would you have expected Konqueror to use to retrieve
> index.html?

I don't understand the question, since index.html from webdav's view is a 
resource or file, not something to be rendered. propfind supposed to return 
properties on index.html, such as when it was created, who the author was, 
etc.

I don't see where I asked konqueror to propfind or fall back to get. As I 
understand it, I should be able to use konqueror's webdav capabilities in a 
similar way to ftp and cvs combined.

With standard http, browsers handle the http headers automatically, but this 
is not possible with webdav, since it requires user input to complete a 
header request. The usual form tag doesn't alter http headers themselves, 
which is exactly what must be done with webdav.

Also, webdav uses xml to pass options, such as resource properties. How do you 
feed konqueror the xml to do that? What does konqueror do when it receives 
xml embedded in a webdav response?

I'm sorry if the example was misleading, I was merely checking to see if 
konqueror recognised the webdav:// protocol.

>
> Simon





More information about the kfm-devel mailing list