设置webdav

环境:linux,apache 2.2

配制 httpd.conf

加载 mod_dav,mod_dav_fs

< IfModule mod_dav_fs.c>
DavLockDB “/usr/conf/DavLock/DavLock”
< /IfModule>
< Directory "/usr/htdocs/cake">
Dav On
AuthType Basic
AuthName name
AuthUserFile /usr/conf/authfile
< LimitExcept GET OPTIONS>
require valid-user
< /LimitExcept>
< /Directory>

设置目录权限
chown -R apache.apache /usr/conf/DavLock/
chown -R apache.apache /usr/htdocs/cake

1条留言 »

本文留言的 RSS · TrackBack URI

  1. 355398 Blog Verification

    2006-10-18 @ 11:11

    355398 Blog Verification

    355398

有想法?欢迎留言: