Initial commit
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user