First make sure the DAV login plugin is enabled under Virtualmin -> System Settings -> Features and Plugins
Next enable DAV login for your domain / user under Virtualmin -> Edit Users -> Other User Permissions
Under Virtualmin -> Services -> Dav Authentication, set Auth type to ‘Basic’ and DAV username mode to ‘POP3/FTP’ (these are the defaults)
Go to Virtualmin -> Services -> Configure Website and click on ‘Location /dav’ under Per-Directory options then choose ‘Access Control’. Click on ‘Edit Users’ (next to ‘User text file’) then click on the user you wish to set the DAV password for. Now, click on the ‘Plain text’ option and enter your password before clicking ‘Save’.
You should now be able to access your DAV share from a Linux/UNIX terminal with a command such as:
If you’d prefer to use a GUI under Linux, the Nautilus and Caja file managers can connect to DAV shares via File -> Connect to server. Windows Explorer and MacOS finder also support opening WebDAV shares.