|
|||||||||
WebDAV の変更点
* install [#z045d764]
*** apache [#ge0d88cf]
[[apache]] (RPM のものは挙動がおかしいのでソースから入れる)
*** config [#v3e9fa2e]
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 [#be63811e]
cd /usr/local/apache2/conf/
../bin/htpasswd -c .davpass 【username】
*** httpd.conf [#sb91ba1c]
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
|
|||||||||