Sorry for the delay in responding. To your questions:
> Where do you put this webdav.conf ?
/etc/apache2/sites-enabled/webdav.conf
> Could you provide ls -l /etc/apache2/mods-enabled/dav*
lrwxrwxrwx 1 root root 29 Jan 31 2023 /etc/apache2/mods-enabled/dav_fs.conf ->
../mods-available/dav_fs.conf
lrwxrwxrwx 1 root root 29 Jan 31 2023 /etc/apache2/mods-enabled/dav_fs.load ->
../mods-available/dav_fs.load
lrwxrwxrwx 1 root root 26 Jan 31 2023 /etc/apache2/mods-enabled/dav.load ->
../mods-available/dav.load
lrwxrwxrwx 1 root root 31 Jan 31 2023 /etc/apache2/mods-enabled/dav_lock.load
-> ../mods-available/dav_lock.load
> Could you provide cat /etc/apache2/mods-enabled/dav*
DAVLockDB ${APACHE_LOCK_DIR}/DAVLock
# Depends: dav
LoadModule dav_fs_module /usr/lib/apache2/modules/mod_dav_fs.so
<IfModule !mod_dav.c>
LoadModule dav_module /usr/lib/apache2/modules/mod_dav.so
</IfModule>
LoadModule dav_lock_module /usr/lib/apache2/modules/mod_dav_lock.so
In case it makes a difference, APACHE_LOCK_DIR appears to be set in
/etc/apache2/envvars:
export APACHE_LOCK_DIR=/run/lock/apache2$SUFFIX
ls -lr /run/lock/apache2:
total 0
ls -ld /run/lock/apache2:
drwxr-xr-x 2 www-data root 40 Mar 6 16:00 /run/lock/apache2
> Could you provide ls -ld /var/www/html
drwxr-xr-x 1 root root 32 Mar 1 17:49 /var/www/html
> Could you provide ls -ld /var/www/html/webdav
drwxrwxrwx 1 www-data www-data 20 Mar 1 18:07 /var/www/html/webdav/
> Could you provide ls -l /var/www/html/webdav/DavLockDB
ls: cannot access '/var/www/html/webdav/DavLockDB': No such file or directory
# Which I've always known. Apache doesn't create the file.
> Could you provide ls -l /var/www/html/webdav/user.passwd
# ditto. Nobody creates it.
> I suppose AuthType is on a separate line ?
Yes, sorry. Strictly speaking though, the documentation doesn't say what
difference it makes. The documentation leads me to believe that I can set up
DAV with no authentication system. I can worry about it and proper permissions
once I get it working.
If something is not set as it should be, then that ought to be a bug because I
haven't fiddled with anything. It's all out of the box.
With thanks,