Can't set Webdav to work

New to Debian (Or Linux in general)? Ask your questions here!

Can't set Webdav to work

Postby leonchik1976 » 2017-12-08 10:42

I'm trying to set up webdav, but i'm unable to connect to it:

# cadaver http://localhost/webdav
Could not access /webdav/ (not WebDAV-enabled?):
405 Method Not Allowed
Connection to `localhost' closed

# cat /etc/apache2/sites-available/webdav.conf
DavLockDB /tmp/DavLock

<VirtualHost *:80>
Alias /webdav /var/www/html/webdav
<Directory /var/www/html/webdav>
AuthType Basic
AuthName "WebDAV"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user

there is no error in error.log, but in access.log it says:
::1 - - [08/Dec/2017:13:29:33 +0200] "OPTIONS /webdav/ HTTP/1.1" 200 241 "-" "cadaver/0.23.3 neon/0.30.2"
::1 - - [08/Dec/2017:13:29:33 +0200] "PROPFIND /webdav/ HTTP/1.1" 405 522 "-" "cadaver/0.23.3 neon/0.30.2"

what am i missing?
any help would appreciated, thanks:)
Posts: 1
Joined: 2017-12-08 10:34

Re: Can't set Webdav to work

Postby michapma » 2017-12-08 12:17

Sorry, I have never set up WebDAV, but the topic interests me. Mind telling us what you've done so far? Is there a tutorial you followed you could link for us?

This older how-to for Etch makes it seem straightforward: ... ebian-etch
User avatar
Posts: 539
Joined: 2008-05-04 20:49
Location: Prague

Re: Can't set Webdav to work

Postby andre@home » 2018-01-16 16:54

I've used this setup. ... bdav-share
Works like a charm (since 2011 ).
Small modifications of the config files for D7 or D8 are needed, but here you can at least see how it should work.
Posts: 282
Joined: 2011-10-02 08:00

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests