httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Moraal <>
Subject [users@httpd] WebDav setup
Date Fri, 18 Jan 2013 09:33:12 GMT
Dear Apache users

I'm trying to setup and enable the WebDav module in Apache 2. I'm
running version 2.0.54 on a PowerPC based Linux platform. The Linux
distro used is not well known, it is the factory default distributed
by Freescale on the P1022DS development kit. The output of the "uname
-a" command is:

Linux p1022ds 2.6.32 #1 SMP Fri Apr 9 09:54:54 CST 2010 ppc GNU/Linux

Of course, the development kit did not ship with Apache installed. I
downloaded the source and dependencies, compiled and installed them
without a hitch. I tested the server with cURL from a remote client
PC, and it works fine.

Now I want to load and enable WebDav, so I modified httpd.conf accordingly:

I uncommented these two lines:

LoadModule dav_module modules/
LoadModule dav_fs_module modules/

I added
DavLockDB "/usr/local/apache2/var/DavLock"
I also created the above mentioned dirctory and made sure httpd can write to it.

And under
<Directory "/usr/local/apache2/htdocs">
I added Dav On

I saved the changes to httpd.conf and I restarted apache with
apachectl -k restart. I get no errors.

I try to test the server with curl:
on the client pc I issue this command:
curl -v -T "vid99.bin"

the output of curl is:
> PUT /vid99.bin HTTP/1.1
> User-Agent: curl/7.28.1
> Host:
> Accept: */*
> Content-Length: 51200
> Expect: 100-continue
< HTTP/1.1 100 Continue
} [data not shown]
* We are completely uploaded and fine
< HTTP/1.1 405 Method Not Allowed
< Date: Fri, 18 Jan 2013 11:25:25 GMT
< Server: Apache/2.0.54 (Unix) PHP/5.0.4
< Content-Length: 316
< Content-Type: text/html; charset=iso-8859-1

As you can see I get the 405 response when I issue the PUT method to
the server. My goal with this exercise is to enable PUT on my server,
that is why I want to setup WebDav. However, either WebDav is not
loaded or it is not configured correctly. Can you please assist me?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message