DavLockDB "/var/www/html/webdav/DavLock" <Location /keepass > RewriteEngine on RewriteCond %{REQUEST_METHOD} OPTIONS RewriteRule ^(.*)$ blank.html [R=200,L,E=HTTP_ORIGIN:%{HTTP:ORIGIN}] # Don't require LDAP authentication for a healthcheck SetEnvIf Request_URI "^/healhcheck" accessgranted=1 Order deny,allow Satisfy any Deny from all Allow from env=accessgranted AuthType Basic AuthBasicProvider ldap AuthLDAPURL "ldap://i12bretro.local:389/DC=i12bretro,DC=local?sAMAccountName?sub?(objectClass=user)" NONE AuthLDAPBindDN "readonly_svc@i12bretro.local" AuthLDAPBindPassword "Read0nly!!" AuthName "Restricted Area [i12bretro.local]" # to authenticate a domain group, specify the full DN AuthLDAPGroupAttributeIsDN on require ldap-group CN=WebAuthAccess,CN=Users,DC=i12bretro,DC=local </Location> <Location "/webdav"> DAV On AuthType "Basic" AuthName "webdav" Options Indexes Header always set Access-Control-Allow-Origin "*" Header always set Access-Control-Allow-Headers "origin, content-type, cache-control, accept, authorization, if-match, destination, overwrite" Header always set Access-Control-Expose-Headers "ETag" Header always set Access-Control-Allow-Methods "GET, HEAD, POST, PUT, OPTIONS, MOVE, DELETE, COPY, LOCK, UNLOCK" Header always set Access-Control-Allow-Credentials "true" </Location>
{ "settings": { "theme": "fb", "autoSave": true, "autoSaveInterval": 1, "canOpenDemo": false, "dropbox": false, "gdrive": false, "onedrive": false, "canExportXml": true }, "files": [{ "storage": "webdav", "name": "Database", "path": "/webdav/database.kdbx" }] }