mnutt / davros

Personal file storage server
Apache License 2.0
298 stars 35 forks source link

WebDAV at API root for all non-Owncloud clients #44

Closed mnutt closed 3 years ago

mnutt commented 8 years ago

We serve webdav at /remote.php/webdav for Owncloud's benefit, but it can be confusing to other clients. Many let you specify a starting path, but often have a "parent directory" link which leads nowhere since we don't serve anything at just /remote.php. Instead, clients that don't identify themselves as Owncloud should get files served at /.

mnutt commented 3 years ago

It turns out that it’s not really possible; we can distinguish PROPFINDs at / but would then need to support GETs on files from the root path which may collide. As an alternative, I’ve moved the canonical webdav endpoint to /dav and PROPFIND / will show a directory listing with /dav in it.