PDA

View Full Version : Setting up WebDAV


themicah
09-06-2005, 07:42 PM
I saw in this thread (http://forums.rimuhosting.com/forums/showthread.php?t=76) that placey set up webDAV on his VPS so he could share iCal files with his family.

I'd love to do the same, but can't figure out exactly how to get webDAV to work. mod_dav looks like it's installed. I know I need to insert "Dav On" into my apache config (I'd like it to run only on one of my virtual hosts). But I can't figure out where to put it so it'll work, nor am I 100% sure about how to test it from MacOS X.

Any tips would be greatly appreciated.

placey
09-07-2005, 09:07 PM
I did this a long time ago, but here's the relevent snip from my http.conf file on my Red Hat-like system. In my case, this is done outside a virtual host, but it should work just as well inside one.


Alias /ical/ "/directory/where/I/store/calendar/entries/"

<Directory "/directory/where/I/store/calendar/entries/">
DAV on

AuthType Digest
AuthName iCal
AuthDigestFile "/path/to/file/containing/my/apache/passwords"

<LimitExcept GET HEAD OPTIONS>
require valid-user
</LimitExcept>

Order allow,deny
Allow from All

Options All
</Directory>

Oh, and here's the article I think I cribbed the general idea from: http://www.macdevcenter.com/pub/a/mac/2002/09/20/ical_webdav.html

themicah
09-08-2005, 05:41 AM
Rockin'. I got it working, and learned all about Digest vs. Basic authentication in the process. Thanks!