WebDav setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so

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" 10.84.67.129

the output of curl is:
> PUT /vid99.bin HTTP/1.1
> User-Agent: curl/7.28.1
> Host: 10.84.67.129
> 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
< Allow: GET,HEAD,POST,OPTIONS,TRACE
< 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?


--
Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux