"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:[email protected]]
Sent: Thursday, March 10, 2011 12:37 AM
To: [email protected]
Subject: RE: [users@httpd] 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: [email protected]
> Date: Thu, 10 Mar 2011 06:15:52 +0000
> To: [email protected]
> Subject: Re: [users@httpd] 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: [email protected]
> " from the digest: [email protected]
> For additional commands, e-mail: [email protected]
>