install module dav
-bash-3.2$ sudo pkg_add -iv mod_dav We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. Password: parsing mod_dav-1.0.3p6 found libspec expat.9.0 in /usr/lib mod_dav-1.0.3p6: complete --- mod_dav-1.0.3p6 ------------------- To finish the install of mod_dav-1.0.3p6, you need to enable the module using the following command /usr/local/sbin/mod_dav-enable If you already have Apache running on your machine, you should not use "apachectl restart" - instead, you should fully stop and then restart the server.
aktifkan modul dav-nya
sudo /usr/local/sbin/mod_dav-enable Enabling module... [activating module `dav' in /var/www/conf/httpd.conf] cp /usr/local/lib/mod_dav.so /usr/lib/apache/modules/mod_dav.so chmod 755 /usr/lib/apache/modules/mod_dav.so cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf rm /var/www/conf/httpd.conf.new </pre> buat dav directory alias <code> Alias /dav/ "/var/www/dav/" DAVLockDB /tmp <Directory "/var/www/dav"> DAV On Require valid-user Options Indexes MultiViews AllowOverride none Order allow,deny Allow from all </Directory>
selesai.., dan restart apachenya