ALTS.NET Technical Support Virtual Private Server

ALTS.net Main Menu

Technical Support

Virtual Private Server
Virtual Private Server v2

The mod_dav Apache Module

the mod_dav Apache module enables WebDAV on your server. DAV stands for Distributed Authoring and Versioning, a system (similar to CVS or SharePoint) which allows multiple people to collaborate on a document.

Usage

The mod_dav module is already linked to your ~/www/modules/ directory. To use it, simply load the module into your configuration file by adding the following line to your ~/www/conf/httpd.conf file:

LoadModule dav_module /usr/local/etc/httpd/modules/mod_dav-1.0.3.so

You will also need to configure where the DAV files are and who can access them. This is an example of what you would need to add to your ~/www/conf/httpd.conf file:

<IfModule mod_dav.c>
  DAVLockDB /var/db/DAVLock
  DavMinTimeout 600

  Alias /upload /usr/local/etc/htdocs/davhome
  <Location /upload>
    DAV On
    order deny,allow
    Deny from all
    Allow from YOUR-COMPANY.DOMAIN
  </Location>
</IfModule>

You can find more information on configuring mod_dav at the WebDAV website module documentation section: