37 lines
725 B
Plaintext
37 lines
725 B
Plaintext
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> |