http://cocnm.computerisms.ca/index.php?title=Configure_WebDAV&feed=atom&action=historyConfigure WebDAV - Revision history2024-03-28T20:33:07ZRevision history for this page on the wikiMediaWiki 1.41.0http://cocnm.computerisms.ca/index.php?title=Configure_WebDAV&diff=247&oldid=prevBob: 1 revision2013-09-19T06:20:00Z<p>1 revision</p>
<p><b>New page</b></p><div>==Notes==<br />
*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<br />
**Traffic from outside the lan should work on ssl-encrypted connections.<br />
*If you accept outside clients to this service, they may need a 3rd party client<br />
*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<br />
*Everything works browser side- Authentication and encryption<br />
<br />
==System Prep==<br />
*apt-get install cadaver<br />
<br />
==Configure Apache==<br />
*vi [[/etc/apache2/sites-available/files.computerisms.com.conf]]<br />
*touch /Computerisms/sites/DAVLock.db<br />
*chown files:files /Computerisms/sites/DAVlock.db<br />
*mkdir /var/log/apache2/files.computerisms.com/<br />
*chown root:adm /var/log/apache2/files.computerisms.com/<br />
*a2ensite files.computerisms.com.conf<br />
*a2enmod dav dav_fs dav_lock<br />
*/etc/init.d/apache2 restart<br />
*samba-tool dns add houselian computerisms.com files A 192.168.26.10<br />
<br />
==Test webDAV==<br />
*cadaver http://files.computerisms.com <b><= This command should request your network username and password, brings you to a prompt:</b><br>dav:/> quit<br />
*cadaver https://files.computerisms.com <b><= This command should require you to accept a certificate, then request your network username and password, then bring you to a prompt:</b><br>dav:/> quit<br />
<br />
==Configuring Windows==<br />
*Install this: http://www.microsoft.com/en-us/download/details.aspx?id=15123<br />
*webDAV folder is mounted as W in logon Script, CA cert should be loaded through GPO<br />
**Manually: start=>right-click Computer=>map network drive=>Select W for Drive letter=>Enter in the folder field: http://files.computerisms.com=>select Reconnect at logon=>Finish Button<br />
<br />
==With SSL==<br />
*Same as above, except use https<br />
*Can't get it to work from inside the lan => FQDN problem.<br />
*make sure the CA is loaded into adminlian.<br />
*make sure webclient is on in windows<br />
*configure windows to use basic auth:<br />
**windows+r=>regedit.exe=>yes=>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters=>dblclickBasicAuthLevel=>set Value=2=>OK=>reboot<br />
*http://support.microsoft.com/kb/943280<br />
*http://support.microsoft.com/kb/941050<br />
*http://support.microsoft.com/kb/841215<br />
*http://support.microsoft.com/kb/977262</div>Bob