Auszug aus meinem AdminTool:
Introduction to WebDAV (Example)
1] remove the comment-symbol from the include-line in /usr/syno/apache/conf/httpd.conf-user
Rich (BBCode):
# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf
2] create directory: /volume1/@dav with access right 777
3] create a new config-file /usr/syno/apache/conf/extra/httpd-dav.conf
Rich (BBCode):
# Distributed authoring and versioning (WebDAV)
#
# Required modules: mod_dav, mod_dav_fs, mod_auth_digest, mod_alias
#
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule auth_digest_module modules/mod_auth_digest.so
#
# The following example gives DAV write access to /volume1/@dav
# It is called by http://server_url/dav
#
# The User/Group specified in httpd.conf needs to have write permissions
# on the directory where the DavLockDB is placed and on any directory where
# "Dav On" is specified.
#
DavLockDB /volume1/@tmp/DavLock
Alias /dav /volume1/@dav
<Directory "/volume1/@dav">
Order Allow,Deny
Allow from all
Options Indexes FollowSymLinks MultiViews
</Directory>
<Location /dav>
Dav On
AuthType Digest
AuthName DAV # realm
# AuthDigestDomain /dav/ https://syno/dav/
# AuthDigestProvider file
# You can use the htdigest program to create the password database:
# htdigest -c "/usr/syno/etc/user.passwd" DAV admin
AuthUserFile "/usr/syno/etc/user.passwd"
<LimitExcept OPTIONS>
Require valid-user
</LimitExcept>
</Location>
#
# The following directives disable redirects on non-GET requests for
# a directory that does not include the trailing slash. This fixes a
# problem with several clients that do not appropriately handle
# redirects for folders with DAV methods.
#
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
4] install via ipkg apache - copy the file /opt/sbin/htdigest to /usr/sbin/htdigest - uninstall ipkg apache
5] create the password database with realm 'DAV', user 'admin', and a password
Rich (BBCode):
htdigest -c "/usr/syno/etc/user.passwd" DAV admin
6] restart user-apache
Rich (BBCode):
/usr/syno/etc/rc.d/S97apache-user.sh restart
Itari