Initial commit

This commit is contained in:
2025-02-22 12:19:31 +01:00
commit 0c30086b37
11 changed files with 155 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
DavLockDB "/var/www/html/DavLock"
LogLevel debug
Alias /webdav "/var/www/webdav"
<Directory "/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
<LimitExcept GET POST OPTIONS>
Require user admin
</LimitExcept>
</Directory>
<Location "/webdav">
Dav On
ForceType text/plain
</Location>