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: Difference between revisions

From COCNM
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 01:20, 19 September 2013

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 /Computerisms/sites/DAVLock.db
  • chown files:files /Computerisms/sites/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