Create Folder for WebDav
http://www.SemperVideo.de
http://www.youtube.com/watch?v=wGgFY80YigA
http://www.youtube.com/watch?v=Da7pnDu0I6E
Install Apache Webserver:
sudo apt-get apache2
Module for WebDav:
sudo a2enmod dav
sudo a2enmod dav_fs
Create Folder in Web Home for WebDav:
mkdir /var/www/davhome
sudo chgrp www-data /var/www/davhome/
sudo chmod 775 /var/www/davhome/
Create user davuser1 and password file
sudo htpasswd -c /var/www/davhome/.DAVlogin davuser1
New password:***
Re-type new password:***
Configure dav_fs.conf
sudo nano /etc/apache2/mods-enabled/dav_fs.conf
---Nano dav_fs.conf---
(...)
#DavMinTimeout 600
§Location /davhome/§
Dav on
AuthType Basic
AuthName davuser1
AuthUserFile /var/www/davhome/.DAVlogin
§LimitExcept OPTIONS§
Require user davuser1
§/LimitExcept§
§/Location§
§ = angle brackets, in this blog I can not write xml brackets
§LimitExcept OPTIONS§
Restart Apache:
sudo /etc/init.d/apache2 restart
Keine Kommentare:
Kommentar veröffentlichen