To mount a webdav server, I am following instructions laid out at Mounting drives and boot options in Linux :: bobpeers.com under the section titled Mounting WebDAV filesystems (using wdfs)
I’m doing these steps as root. These work:
# mkdir /mnt/webdav
# mkdir ~/mountpoint
# wdfs http://localhost/webdav/ ~/mountpoint
But not the next one:
# wdfs https://localhost/webdav /mnt/webdav -o username=<my_username>,password=<my_password>,allow_other
After asking me to approve my self-signed certificate, I get this error:
error: could not mount remote server ‘http://localhost/webdav’. reason: 301 Moved Permanently to ‘http://localhost/webdav/’.
This is a working webdav server. I can log in from my Mac and from within the localhost (but not from my Windows machines – which is another question altogether).
Does anyone know the possible causes of this error when I issue the command to mount the webdav filesystem?