GNOME Bugzilla – Bug 740354
webdav doesn't work out of box
Last modified: 2014-11-19 11:59:06 UTC
I've set up "Personal file sharing" using the Sharing panel, but it fails when I try to connect using gvfs: $ gvfs-mount dav://linux.local Error mounting location: HTTP Error: Could not connect: Connection refused Ok, httpd isn't running. Start httpd manually: $ sudo service httpd start Redirecting to /bin/systemctl start httpd.service $ gvfs-mount dav://linux.local Error mounting location: Not a WebDAV enabled share Server is misconfigured probably, because it doesn't answer with DAV header: > OPTIONS / HTTP/1.1 > Soup-Debug-Timestamp: 1416392338 > Soup-Debug: SoupSession 1 (0x1044150), SoupMessage 1 (0x7fefd00058b0), SoupSocket 1 (0x7fefd8006e90) > Host: linux.local > Accept-Encoding: gzip, deflate > User-Agent: gvfs/1.22.1 > Accept-Language: en-us, en;q=0.9 > Connection: Keep-Alive < HTTP/1.1 200 OK < Soup-Debug-Timestamp: 1416392339 < Soup-Debug: SoupMessage 1 (0x7fefd00058b0) < Date: Wed, 19 Nov 2014 10:18:59 GMT < Server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1j-fips < Allow: OPTIONS,GET,HEAD,POST,TRACE < Content-Length: 0 < Keep-Alive: timeout=5, max=100 < Connection: Keep-Alive < Content-Type: httpd/unix-directory However "All DAV compliant resources MUST return the DAV header on all OPTIONS responses." (RFC 2518) Or am I doing something wrong?
(In reply to comment #0) > I've set up "Personal file sharing" using the Sharing panel, but it fails when > I try to connect using gvfs: > > $ gvfs-mount dav://linux.local > Error mounting location: HTTP Error: Could not connect: Connection refused Wrong port. See bug 730444. > Ok, httpd isn't running. Start httpd manually: > $ sudo service httpd start > Redirecting to /bin/systemctl start httpd.service You just started the system-wide httpd. > $ gvfs-mount dav://linux.local > Error mounting location: Not a WebDAV enabled share > > Server is misconfigured probably, because it doesn't answer with DAV header: Yes, the system-wide http server probably isn't set up as a DAV server. But I doubt that's relevant. *** This bug has been marked as a duplicate of bug 730444 ***