“DAV On” can be used within a <Directory …>
or within a <Location …
The
code specifies:
AP_INIT_TAKE1("DAV", dav_cmd_dav, NULL, ACCESS_CONF,
"specify the DAV provider for a directory or location"),
The
4th parameter, ACCESS_CONF, indicates “where” DAV is
allowed.
ACCESS_CONF
is defined as: #define ACCESS_CONF
64 /**< *.conf inside <Directory>
or <Location> */
So, your problem is elsewhere.
Does your apache_error_log provide any clues…???
From: zMatthew
[mailto:mathewzhao@xxxxxxxxxxx]
Sent: Thursday, March 10, 2011 12:37 AM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: Question about mod_dav in Apache2(Centos)
My
httpd.conf doesn't exist <Location>, so I added the following the 3 lines
in the file.
<Location />
DAV On
</Location>
Unfortunately, "PUT" method still isn't seen via "OPTIONS /
HTTP/1.0".
Thanks
> From: nick@xxxxxxxxxxxx
> Date: Thu, 10 Mar 2011 06:15:52 +0000
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: Question about mod_dav in Apache2(Centos)
>
>
> On 10 Mar 2011, at 05:08, zMatthew wrote:
>
> > I configured Apache2 to allow "PUT" method on a directory,
>
> DAV doesn't work with Directories. Use <Location>.
>
> --
> Nick Kew
>
> Available for work, contract or permanent
> http://www.webthing.com/~nick/cv.html
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>