DavLockDB "/var/www/html/DavLock"
LogLevel debug
Alias /webdav "/var/www/webdav"
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
# Enable WebDAV
DAV On
# Formatted listing of directory content
Options +Indexes
# Enable HTTP Basic Authentication
AuthType Basic
# Username
AuthName "My Private WebDav"
# Location of password file
AuthUserFile /var/www/.htpasswd
# Require valid authentication to access directory
Require valid-user
DirectoryIndex disabled # Stop looking for index.html
Require user admin
Dav On
ForceType text/plain