Table of Contents |
---|
Create WebDAV to Publish Calendars
Enable WebDAV
Code Block theme Emacs language bash a2enmod dav a2enmod dav_fs
Create File System
Code Block theme Emacs language bash mkdir /home/sites/www/webdav chown www-data:www-data /home/sites/www/webdav
Set Up Password Protection
Code Block theme Emacs language bash htpasswd -c /etc/apache2/webdav.password username chown root:www-data /etc/apache2/webdav.password chmod 640 /etc/apache2/webdav.password
Configure Apache
Code Block theme Emacs language html/xml 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>