ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Serve Your iCal Calendars Using WebDAV
Subject:   What about FreeBSD Unix?
Date:   2002-10-29 12:34:08
From:   anonymous2
I have an apache server running FreeBSD Unix, it is a virtual private server not a mac : ( I figured the instructions should be similar enough that I would be able to figure how to get iCal to like my webserver. For some reason, when I add any kind of authentication to mod_dav, iCal will no longer write .ics files to the server. This is what does work for me...
LoadModule dav_module /usr/local/etc/httpd/modules/mod_dav-1.0.3.so
DAVLockDB /var/db/DAVLock/
DavMinTimeout 600
Alias /calendar/ /usr/local/etc/httpd/htdocs/davhome/
<Location /calendar/>
DAV On
<LimitExcept GET HEAD OPTIONS>
</LimitExcept>
</Location>
if I add "require user" in the limit tag or add "authtype basic", iCal can't write to my server. If I add .htaccess to the folder, iCal won't work. (yes I do know how to set up the passwords)
Any ideas on FreeBSD Apache??? I obviously can't leave this DAV folder unprotected. I would prefer .htaccess so the folder contents are unavaliable without the password.