sabre-io / dav

sabre/dav is a CalDAV, CardDAV and WebDAV framework for PHP

Home Page:http://sabre.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DavFS Client : HTTP/1.1 404 Not Found

rheman opened this issue · comments

commented

Hello everyone,

  • dav 4.4.0
  • ubuntu 22.01
  • php 8.1

I'm using the latest release of SabreDav on my web application and everything seems to work when I access the data via my web browser.

Screenshot from 2023-04-19 19-24-01

I am using "BasicCallBack Authentication" with "Virtual Filesystems".

But when I try to use "DavFS Client" and other webdav client, nothing is available in the mounted directory. So I enabled the debug option on my davfs setting (/etc/davfs2/davfs2.conf).

debug httpbody

I have in a "HTTP/1.1 404 Not Found" error in system log (var/log/syslog) as you can see in the following log.

mount.davfs: Read block (27 bytes):#012[SocialWebDav]

mount.davfs: Body block (257 bytes):#012[<?xml version="1.0" encoding="utf-8"?>#012<propfind xmlns="DAV:"><prop>#012<resourcetype xmlns="DAV:"/>#012<getcontentlength xmlns="DAV:"/>#012<getetag xmlns="DAV:"/>#012<getlastmodified xmlns="DAV:"/>#012<executable xmlns="http://apache.org/dav/props/"/>#012</prop></propfind>#012]
Oct  6 20:51:38 pessek-ThinkBook-15-G4-ABA mount.davfs: Read block (914 bytes):#012[<?xml version="1.0"?>#012<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"><d:response><d:href>/webdav/virtual/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getcontentlength/><d:getetag/><d:getlastmodified/><x1:executable xmlns:x1="http://apache.org/dav/props/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/w

mount.davfs: ebdav/virtual/MyFiles/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:getlastmodified>Sat, 07 Oct 2023 00:51:38 GMT</d:getlastmodified></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getcontentlength/><d:getetag/><x1:executable xmlns:x1="http://apache.org/dav/props/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>#012]

mount.davfs: Body block (159 bytes):#012[<?xml version="1.0" encoding="utf-8"?>#012<propfind xmlns="DAV:"><prop>#012<quota-available-bytes xmlns="DAV:"/>#012<quota-used-bytes xmlns="DAV:"/>#012</prop></propfind>#012]

mount.davfs: Read block (292 bytes):#012[<?xml version="1.0"?>#012<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"><d:response><d:href>/webdav/virtual/</d:href><d:propstat><d:prop><d:quota-available-bytes/><d:quota-used-bytes/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>#012]

Could someone help me ?

Regards,