Linux: Mount WebDav-Share using fstab and davfs2
Attention: The content is slightly out of date. The information in the text could therefore no longer be correct.
This article describes a way to automatically mount a webdav share at boot by editing /etc/fstab on a debian based linux os like Ubuntu.
<localusergroup>: The username and group of the currently logged on local user
<localdir>: The directory where the webdav share should be mounted to
<webdavurl>: The URL of the webdav share
root is the mounting user, it is still possible to change the owner of
the file system. That is what options
gid are for.
Linking to your Home directoryYou might want to see the webdav share in your Home directory:
OwnCloud at DomainFactoryIf your login attempt results in
Could not authenticate to server: rejected Basic challengeyou should consider adding some lines to the
.htaccessof your ownCloud-Installation. The problem occures when PHP is operated in CGI-Mode.
davfs2should be prefixed with a time stamp and "mount.davfs".