I can’t get access to webdav folder with messages 403: “You don’t have permission to access /sync on this server” or “Access denied”
I try to configure WebDAV by using this manual - https://www.digitalocean.com/community/tutorials/how-to-configure-webdav-access-with-apache-on-ubuntu-12-04
Here is my 000-default.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/webdav
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combine
<Directory /var/www/webdav/>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
Alias /sync /var/www/webdav/
<Location /webdav>
Dav on
AuthType Digest
AuthName "webdav"
AuthUserFile /etc/apache2/webdav.password
Require valid-user
</Location>
</VirtualHost>
Permission for 000-default.conf - -rw-r–r-- 1 root root 1629 Aug 24 15:04 /etc/apache2/sites-available/000-default.conf
Permission for webdav.password - -rw-rw---- 1 www-data userID 48 Aug 24 14:44 webdav.password
Permission for webdav alias - lrwxrwxrwx 1 www-data userID 16 Aug 24 14:10 webdav -> /home/userID/webdav
Permission for webdav folder drw-rw-r-- 2 www-data konst 4096 Aug 24 14:10 sync
Does anyone have ideas?
My droplet is Ubuntu 14.04 x32
Many thanks in advance!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This question was answered by @naumov.k:
Correct Alias
Alias /webdav /var/www/webdav/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.