I am trying to set up webdav to the /var/www directory on debian 8.4
I can setup webdav to access a subdirectory of /var/www such as /var/www/webdav but when I remove the directive from the apache conf file it doesn't seem to work. for example:
Alias /webdav /var/www/webdav
<Directory /var/www/webdav>
DAV On
</Directory>
if this is
Alias /webdav /var/www
<Directory /var/www>
DAV On
</Directory>
I get an error:
cadaver http://192.168.200.85/webdav
Could not access /webdav/ (not WebDAV-enabled?):
Did not find a collection resource.
Connection to `192.168.200.85' closed.
I feel like I'm missing something obvious.
/var/log/apache2/error.log
file (or the one corresponding to the virtual host in question). – Ferenc Wágner Feb 23 '16 at 10:19<directory /var/www>
somewhere else in your config file (since it's the root) which doesn't include theDAV on
directive. You should modify that one, not add another one. – EightBitTony Feb 23 '16 at 12:31