Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Can't set Webdav to work

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
leonchik1976
Posts: 1
Joined: 2017-12-08 10:34

Can't set Webdav to work

#1 Post by leonchik1976 »

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>
DAV On
AuthType Basic
AuthName "WebDAV"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
</Directory>
</VirtualHost>


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:)

User avatar
michapma
Posts: 544
Joined: 2008-05-04 20:49
Location: Prague

Re: Can't set Webdav to work

#2 Post by michapma »

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:
https://www.howtoforge.com/setting-up-w ... ebian-etch

andre@home
Posts: 398
Joined: 2011-10-02 08:00

Re: Can't set Webdav to work

#3 Post by andre@home »

I've used this setup.
http://bernaerts.dyndns.org/linux/75-de ... 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.

Post Reply