Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

Configure WebDAV

From COCNM
Jump to: navigation, search

Notes

  • webdav has certain restrictions in windows. for it to be reliable on the lan, you have to not use ssl. restrict non-secured traffic to trusted networks using require directive in apache config
    • Traffic from outside the lan should work on ssl-encrypted connections.
  • If you accept outside clients to this service, they may need a 3rd party client
  • There is no permission system. One way to get permissions is to maintain multiple webdav sites, and use require user @group in apache config to restrict access
  • Everything works browser side- Authentication and encryption

System Prep

  • apt-get install cadaver

Configure Apache

  • vi /etc/apache2/sites-available/files.computerisms.com.conf
  • touch /var/www/DAVLock.db
  • chown files:files /var/www/DAVlock.db
  • mkdir /var/log/apache2/files.computerisms.com/
  • chown root:adm /var/log/apache2/files.computerisms.com/
  • a2ensite files.computerisms.com.conf
  • a2enmod dav dav_fs dav_lock
  • /etc/init.d/apache2 restart
  • samba-tool dns add houselian computerisms.com files A 192.168.26.10

Test webDAV

  • cadaver http://files.computerisms.com <= This command should request your network username and password, brings you to a prompt:
    dav:/> quit
  • cadaver https://files.computerisms.com <= This command should require you to accept a certificate, then request your network username and password, then bring you to a prompt:
    dav:/> quit

Configuring Windows

With SSL