View Single Post
My config is:
#
# Apache Config for WebDAV Sharing
# Activated and deactivated by com.apple.webapp.webdavsharing webapp
#

RegisterResource "WebDAV Sharing: %c %s" /webdav main webdav
RewriteEngine On
RewriteMap webdavmap prg:/usr/libexec/webdavsharing/webdavsharing_mapper
RedirectMatch permanent ^/webdav$ /webdav/
<Location "/webdav">
AuthType Digest
AuthName "UserWebDAV Gateway"
Require valid-user
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*
RewriteRule . - [F]
RewriteCond %{REMOTE_USER} (.+)
RewriteRule /webdav(.*) ${webdavmap:%1}$1 [P,DPI]
</Location>

DavLockDB /var/tmp/DavLock
Alias /secretplace /Users/ctrld/syn
<Directory /Users/ctrld/syn>
DAV On
AuthType Digest
AuthName "UserWebDAV Gateway"
Require user ctrld
</Directory>

I am using URL https://lion.domain.com/secretplace/ in OmniFocus. And you additionally need to setup webdav on any other share.

For few users you should configure different aliases/directories/valid users.

Last edited by ctrld; 2012-04-16 at 11:12 PM..