#FREE WEBDAV SERVER TO PUBLISH CALENDAR PASSWORD#
Use the "-c" (for "create the password file") argument for the first user you add. >In iCal, choose Publish Calendar and specify Presumably, that\'s a typo unless you also created the subdirectory \"iCal\" and made it owned by the www user. >Then set up the folder with permissions. Obviously, there are a greate many variations. Only \"billy\" (who has write-permission) can publish changes. While the others can subscribe to his calendars, In the above example, members of the \"family\" group can read (but not write to) the files in this directory.
,harry) all have entries in the password file. Let\'s use Digest Authentication instead:ĪuthDigestFile /usr/local/apache2/var/davusersĪuthDigestGroupFile /usr/local/apache2/var/davgroupsġ)to create the password file (\"davusers\"), we need to use the \"htdigest\" command instead of \"htpasswd\".Ģ) the groups file (\"davgroups\") contains lines of the form >I used this section to have a webdav folder managed by Apache:īasic Authentication? Yuck! That sends your password in cleartext. You mention mention this later, but it's important that this directory must owned by the www user:Ĭhown www.www /Library/WebServer/davlocks/ >DAVLockDB /Library/WebServer/davlocks/DAVLockDB >Then somewhere in the global section add:
In 1.3.x, mod_dav is consideredĪ \"3rd party\" module and not included in the standard distribution. If you configure with \"-enable-mods-shared=all\" it\'s automatically loaded from nf. I\'m using Apache 2.0.40, so the mod_dav module is automatically builtĪnd installed. >LoadModule dav_module libexec/httpd/libdav.so >the same ordering in their repective sections: >In the Shared Library section, where modules are loaded, add these two lines in % chown www:www dav In iCal, choose Publish Calendar and specify Do not FTP stuff into the dav folder webdav uses its own locking, don't confuse it. % htpasswd -m -c /etc/httpd/.htpasswd userĪdding password for user user Then set up the folder with permissions. Note that http is vulnarable to sniffing attacks, so someone on your network can get at your password. With MD5 passwords (not that old crypt!), please use the -m flag.
I want this folder protected (somewhat) by a password. In the Shared Library section, where modules are loaded, add these two lines in the same ordering in their repective sections: LoadModule dav_module libexec/httpd/libdav.soĪddModule mod_dav.cThen somewhere in the global section add: DAVLockDB /Library/WebServer/davlocks/DAVLockDBI used this section to have a webdav folder managed by Apache: % sudo vi /etc/httpd/nfRead the rest for the specific edits. You must be root, so I expect you know vi and the workings of this file in general. To publish your iCal Calendar with the bundled OS X Apache web server, edit Apache's configuration file in /etc/httpd.