Skip to content

Commit

Permalink
create or truncate the lock database
Browse files Browse the repository at this point in the history
  • Loading branch information
rednoah committed Jun 19, 2024
1 parent 9c84651 commit 5a58864
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webdav/opt/bin/httpd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cd "$HOME"

# prepare the lock database
touch "DavLock"
# create or truncate the lock database
cat /dev/null > "DavLock"

# prepare the passwd file
echo "$USERNAME:$REALM:$(echo -n "$USERNAME:$REALM:$PASSWORD" | md5sum | cut -d' ' -f1)" > "user.passwd"
Expand Down
1 change: 0 additions & 1 deletion webdav/usr/local/apache2/conf/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_lock_module modules/mod_dav_lock.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so

Expand Down

0 comments on commit 5a58864

Please sign in to comment.