Menu Content
Joomla Erweiterungen > Choose one to see more info


How to setup WebDAV?

Last revised:
Montag, 11. Mai 2015


WebDAV is available in Enterprise version of JoomDOC 3 and JoomDOC 4. You can handle WebDAV by ApacheDAV or SabreDAV since JoomDOC 4.0.3. Selecting of the handler is available in JoomDOC configuration under the tab advanced.

SabreDAV is a WebDAV server implemented in PHP. SabreDAV is already included in JoomDOC. SabreDAV is mostly independent of server configuration but requires HTTP methods PROPFIND and PUT. You need folllowing rewrite rule in your .htaccess file with SabreDAV:

RewriteRule ^hcwebdav(.*) /index.php?option=com_joomdoc&task=webdav&file=$1 [L]

The rule should be placed on the begining of .htaccess file directly after commands like:

RewriteEngine On
RewriteBase /

WebDAV has to be enabled in JoomDOC configuration under the first tab and allowed for editor usergroup under the tab permissions. Directory logs/com_joomdoc-webdav-locks has to be writeable with SabreDAV.

ApacheDAV handles WebDAV with module mod_dav of server Apache. Mod_dav has to be allowed in configuration of virtual host of your website. For example:

<VirtualHost *:80>
    ServerName your-domain
    DocumentRoot /var/www/html
    ServerAdmin info@your-domain
    <Directory "/var/www/html">
        AllowOverride All
        Order Allow,Deny
        Allow from All
    DAVLockDB /var/www/davlocks
    <Directory "/var/www/html/documents">
        DAV ON
    ErrorLog /var/log/apache2/error.log
    CustomLog /var/log/apache2/access.log common


Tags for this item

User Login Empty