Apache2
Under normal circumstances it would be a terrible idea to share public details about my web server. However this host is currently offline due to port restrictions that render webhosting incompatible with my PiHole setup. These are the config files for next time I try webhosting with Apache.
Config
Two config files need to be edited to enable WebDAV on apache2.
See current configuration for future setup
ports.conf
/etc/apache2/ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 8443
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
local.conf
etc/apache2/sites-available/webdav.local.conf
<VirtualHost *:8443>
ServerAdmin webmaster@localhost
Servername webdav.local
DocumentRoot /var/www/webdav
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/webdav/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
Alias /ObsidianNotes /var/www/webdav/svn/ObsidianNotes
<Location /ObsidianNotes>
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /usr/local/apache2/webdav.passwords
Require valid-user
</Location>
</VirtualHost>