WebDAV

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

Status
Für weitere Antworten geschlossen.
hi macrozone,

dir ist bekannt, dass der Synology-Apache mittlerweile alles dabei hat, um WebDAV zu machen (Anleitung hab ich schon an verschiedenen Stellen in Forum geschrieben) und dass es mit dem Media-Server auch bereits eine Instanz des lighttpd gibt und man darauf achten muss, dass sich die alle nicht gegenseitig ins Gehege kommen.

Itari

sowas hab ich mittlerweile auch schon gehört, allerdings die komplette anleitung noch nicht gefunden, ich such mal noch danach
 
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
 
Fehler

6] restart user-apache


Code:
/usr/syno/etc/rc.d/S97apache-user.sh restart

Ich bekomme immer folgende Fehlermeldung:
Rich (BBCode):
Start User Apache Server .....
Syntax error on line 26 of /usr/syno/apache/conf/extra/httpd-dav.conf:
AuthName takes one argument, The authentication realm (e.g. "Members Only")
/usr/syno/etc/rc.d/S97apache-user.sh: user httpd could not be started
Hat jemand eine Idee?
 
Ab morgen kommt DSM3.0, da ist WebDAV schon drin, kannst dir die Mühe also evt. sparen.
 
Ist genau gleich wie von dir vorgegeben.
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
 
Probiere mal, so läuft es bei mir im Moment:

Rich (BBCode):
<Location /dav>
    Dav On
    AuthType Digest
    AuthName DAV
    AuthDigestDomain /dav/ https://syno/dav/
    AuthDigestProvider file
    # You can use the htdigest program to create the password database:
    #   /opt/sbin/htdigest -c "/usr/syno/etc/user.passwd" DAV admin
    AuthUserFile "/usr/syno/etc/user.passwd"
    <LimitExcept OPTIONS>
        Require valid-user
    </LimitExcept>
</Location>

Itari
 
Jetz gehts, vielen Dank für die schnelle Hilfe.
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat