tpath fixes - coffin - secure lan file storage on a device (HTM) git clone git://parazyd.org/coffin.git (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- (DIR) commit 1e8db60c4b19043be11e3eadc62bb75520e118f1 (DIR) parent ee5a589923f2bacf253bf81b504e8ce0459f8860 (HTM) Author: parazyd <parazyd@dyne.org> Date: Tue, 29 Mar 2016 17:55:22 +0200 path fixes Diffstat: M conf/config.sh | 6 +++--- M conf/webdav.skel | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) --- (DIR) diff --git a/conf/config.sh b/conf/config.sh t@@ -65,10 +65,10 @@ edit-sudo() { print "Done!" # Apache - install -m 774 -g www-data -d /etc/apache2/DAV + install -m 774 -g www-data -d /etc/apache2/DAV print "DAVLockDB /etc/apache2/DAV/DAVLock" >> /etc/apache2/apache2.conf - install -m600 davpasswd /etc/apache2/DAV - install -m640 coffindav.conf /etc/apache2/sites-available/ + install -m 600 davpasswd /etc/apache2/DAV/ + install -m 640 coffindav.conf /etc/apache2/sites-available/ apachemods=(dav dav_fs dav_lock ssl) print "Enabling Apache modules..." (DIR) diff --git a/conf/webdav.skel b/conf/webdav.skel t@@ -1,4 +1,5 @@ -# Add this to /etc/apache2/sites-enabled/coffindav.conf +# Add this above the last two lines in +# /etc/apache2/sites-enabled/coffindav.conf alias /yourTombName /media/yourTombName <Directory "/media/yourTombName"> t@@ -7,6 +8,6 @@ alias /yourTombName /media/yourTombName Options Indexes FollowSymlinks AuthType Digest AuthName WebDAV - AuthUserFile /etc/apache2/davpasswd + AuthUserFile /etc/apache2/DAV/davpasswd Require user yourCoffinUsername </Directory>