> What do you set for DavLockDB ?
> Please provide your apache conf for your host and for dav* mods which are 
> enabled

My webdav.conf mostly copies the Apache WebDAV documentation:
```
Define _WEBDAV_URI /webdav
Define _WEBDAV_FOLDER /var/www/html/webdav
Alias ${_WEBDAV_URI} ${_WEBDAV_FOLDER}
DavLockDB ${_WEBDAV_FOLDER}/DavLockDB
<Directory ${_WEBDAV_FOLDER}>
Require                         all granted
DAV                                     on  # I'm led to believe this is all 
that's _necessary_AuthType                 basic
AuthName                        DAV
AuthUserFile            "user.passwd"
</Directory>
```

My vhost.conf file is largely copy-and-paste from the defaults:
```
Define _SERVER_ADMIN webmaster
Define _DOMAIN mycomputer # This is on a LAN, so there's no domainDefine _HOST 
${_DOMAIN}

<VirtualHost _default_:443>
ServerName ${_HOST}
ServerAdmin ${_SERVER_ADMIN}@${_DOMAIN}
DocumentRoot /var/www/html

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

SSLEngine on
SSLCipherSuite HIGH:!aNULL:!MD5
SSLCertificateFile      /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile   /etc/ssl/private/ssl-cert-snakeoil.key

<FilesMatch "\.(?:cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>

<VirtualHost _default_:80>
        ServerName ${_HOST}
        ServerAdmin ${_SERVER_ADMIN}@${_DOMAIN}
        DocumentRoot /var/www/html

        RedirectMatch permanent ^(?!/.well-known/acme-challenge)(.*) 
https://${_HOST}/$1

        CustomLog ${APACHE_LOG_DIR}/redirect.log vhost_combined
</VirtualHost>
```

All other files are out-of-the-box unchanged. Read access to my webdav folder 
is fine, so the above config files give me something. I'm trying to get write 
access.

Reply via email to