You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

 

Create WebDAV to Publish Calendars

  1. Enable WebDAV 

    a2enmod dav
    a2enmod dav_fs
  2. Create File System 

    mkdir /home/sites/www/webdav
    chown www-data:www-data /home/sites/www/webdav
  3. Set Up Password Protection 

    htpasswd -c /etc/apache2/webdav.password username
    chown root:www-data /etc/apache2/webdav.password
    chmod 640 /etc/apache2/webdav.password
  4. Configure Apache 

    nano /etc/apache2/sites-available/default
    <Location /webdav>
        Options Indexes
        DAV On
        AuthType Basic
        AuthName "webdav"
        AuthUserFile /etc/apache2/webdav.password
        Require valid-user
    </Location>
  5.  

  • No labels