How to setup mod_dnssd on Apache for use with WebDAV Nav+.
WebDAV Nav includes the ability to locate WebDAV shares on the local network using Bonjour/ZeroConf
In order to configure your Apache virtual host to be advertised by ZeroConf you need to install mod_dnssd
The following is a brief summary of configuring Apache with mod_dnssd on a Debian system
Install mod_dnssd
1
apt-get install libapache2-mod-dnssd
Add a “Location” section to your virtual host declaration
1
2
3
4
5
6
7
8
9
10
11
12
<VirtualHost *:80>
.
.
.
<Location /dav>
DNSSDServiceName "WebDAV Folder"
DNSSDServiceTypes _webdav._tcp
</Location>
.
.
.
</VirtualHost>
Confirm that mod_dnssd is enabled in the configuration /etc/apache2/mods-enabled/mod-dnssd.conf
1
a2enmod mod-dnssd
Restart apache for the change to be loaded