husonet | Tarih: 17.01.2013
WebDAV kurulumu, Outlock Takvim Paylaşımı İçin
Modulleri Açalım.
mkdir /var/www/webdav
chown www-data:www-data /var/www/webdav
htpasswd -c /var/www/webdav/passwd.dav test
chown root:www-data /var/www/webdav/passwd.dav
chmod 640 /var/www/webdav/passwd.dav
WebDAV Test İçin
a2enmod dav_fs
a2enmod dav
/etc/init.d/apache2 restart
vim /etc/apache2/sites-available/default
Alias /webdav /var/www/webdav
<Location /webdav>
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /var/www/webdav/passwd.dav
Require valid-user
</Location>
mkdir /var/www/webdav
chown www-data:www-data /var/www/webdav
htpasswd -c /var/www/webdav/passwd.dav test
chown root:www-data /var/www/webdav/passwd.dav
chmod 640 /var/www/webdav/passwd.dav
/etc/init.d/apache2 restart
WebDAV Test İçin
aptitude install cadaver
root@server1:~# cadaver http://localhost/webdav/
Authentication required for webdav on server `localhost':
Username: test
Password:
dav:/webdav/> quit
Connection to `localhost' closed.
root@server1:~#