Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have webdav running on apache 2.4.2 on Ubuntu 10.04 LTS

virtual host config:


ErrorLog "/usr/websites/logs/"
CustomLog "/usr/websites/logs/" common

DavLockDB "/usr/websites/var/DavLockWWW"

DocumentRoot "/usr/websites/www"
<Directory "/usr/websites/www">
    Options FollowSymlinks MultiViews
    AllowOverride None
    Require all granted

Alias /davwww/ "/usr/websites/www"
<Location /davwww/>
    DAV On

    AuthType Digest
    AuthName "davwww"
    AuthUserFile "/usr/websites/www.digest.passwd"
    AuthDigestProvider file

    Require valid-user

I can login and view the directory listing; however, when I create a file, it gets uploaded on the server without the folder separation character- slash.

/usr/websites directory:

-rw-r--r--  1 www-data www-data  0 Jul 16 08:00 wwwNew Bitmap Image.bmp
-rw-r--r--  1 www-data www-data   22 Jul 16 08:13 wwwNew Compressed (zipped)
-rw-r--r--  1 www-data www-data    0 Jul 16 08:12 wwwNew IrfanView PSD File.psd
-rw-r--r--  1 www-data www-data    0 Jul 16 08:04 wwwNew Microsoft Office Word Document.docx

apache access log:

[16/Jul/2012:08:13:37 +0400] "PUT /davwww/New%20Compressed%20(zipped) HTTP/1.1" 201 71
[16/Jul/2012:08:14:31 +0400] "PUT /davwww/ HTTP/1.1" 201 71

The /usr/websites and all children folders have www-data and www-data user and group permissions with 777 permission (for sake of troubleshooting)

I used both WebDrive and BitKinex to test and samething happens.

Has anyone encountered this problem?

share|improve this question
I created another server running ubuntu 10.04 and installed apache using apt-get install apache2 and had no problems with webdav. Is anyone having trouble with webdav on apache 2.4? – dopeynite Jul 17 '12 at 14:37
solved it: <Directory "/usr/websites/www"> needs to be <Directory "/usr/websites/www/"> *with ending slash. – dopeynite Jul 18 '12 at 2:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.