install†
apache†
apache (RPM のものは挙動がおかしいのでソースから入れる)
config†
mkdir /usr/local/apache2/var
touch /usr/local/apache2/var/DAVLock
chown -R nobody.nobody /usr/local/apache2/var
mkdir /var/www/html/share
chown nobody.nobody /var/www/html/share
password†
cd /usr/local/apache2/conf/
../bin/htpasswd -c .davpass 【username】
httpd.conf†
emacs /usr/local/apache2/conf/httpd.conf
Alias /share "/var/www/html/share"
DAVLockDB /usr/local/apache2/var/DAVLock
<Location /share>
Options Indexes
Order Deny,Allow
Deny from ALL
Allow from 192.168.0.1/255.255.255.0
AuthType Basic
AuthName "Webdav Share"
AuthUserFile /usr/local/apache2/conf/.davpass
Require valid-user
Dav on
</Location>
参考
http://www.atmarkit.co.jp/flinux/special/webdav03/webdav01a.html
http://www.aconus.com/~oyaji/www/apache_win_dav.htm