基本上按照 Apache mod_dav 的說明就可以安裝完成了,但若要讓WinXP的網路芳鄰要能存取DAV Folder,必須將Virtual Host 的 root (/) 設成 DAV Enabled,否則會一直要認證…
<virtualhost *:80> ServerName share.example.org DocumentRoot "/home/www/share" <directory "/home/www/share"> Options Indexes FollowSymLinks MultiViews AllowOverride AuthConfig Order allow,deny allow from all </directory> ErrorLog /home/www/logs/share-error.log CustomLog /home/www/logs/share-access.log combined DavLockDB /tmp/DavLock <location /> Dav On AuthType Basic AuthName DAV AuthUserFile /home/www/auth-file Require valid-user </location> </virtualhost>