Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_dav_module.xml @ 774:8ff309263cb9
Corrected syntax of "dav_methods" directive and updated module description.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 23 Nov 2012 07:48:18 +0000 |
parents | 764fbac1b8b4 |
children | 95c3c3bbf1ce |
comparison
equal
deleted
inserted
replaced
773:24b1b0101250 | 774:8ff309263cb9 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_dav_module" | 10 <module name="Module ngx_http_dav_module" |
11 link="/en/docs/http/ngx_http_dav_module.html" | 11 link="/en/docs/http/ngx_http_dav_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="1"> | 13 rev="2"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_dav_module</literal> module processes HTTP and WebDAV | 18 The <literal>ngx_http_dav_module</literal> module is intended for file |
19 management automation via the WebDAV protocol. | |
20 The module processes HTTP and WebDAV | |
19 methods PUT, DELETE, MKCOL, COPY, and MOVE. | 21 methods PUT, DELETE, MKCOL, COPY, and MOVE. |
20 </para> | 22 </para> |
21 | 23 |
22 <para> | 24 <para> |
23 This module is not built by default, it should be enabled with the | 25 This module is not built by default, it should be enabled with the |
24 <literal>--with-http_dav_module</literal> | 26 <literal>--with-http_dav_module</literal> |
25 configuration parameter. | 27 configuration parameter. |
28 </para> | |
29 | |
30 <para> | |
31 <note> | |
32 WebDAV clients that require additional WebDAV methods to operate | |
33 will not work with this module. | |
34 </note> | |
26 </para> | 35 </para> |
27 | 36 |
28 </section> | 37 </section> |
29 | 38 |
30 | 39 |
80 </directive> | 89 </directive> |
81 | 90 |
82 | 91 |
83 <directive name="dav_methods"> | 92 <directive name="dav_methods"> |
84 <syntax> | 93 <syntax> |
85 <literal>off</literal> | <literal>put</literal> | | 94 <literal>off</literal> | <value>method</value> ...</syntax> |
86 <literal>delete</literal> | <literal>mkcol</literal> | | |
87 <literal>copy</literal> | <literal>move</literal> | |
88 ...</syntax> | |
89 <default>off</default> | 95 <default>off</default> |
90 <context>http</context> | 96 <context>http</context> |
91 <context>server</context> | 97 <context>server</context> |
92 <context>location</context> | 98 <context>location</context> |
93 | 99 |
94 <para> | 100 <para> |
95 Allows the specified HTTP and WebDAV methods. | 101 Allows the specified HTTP and WebDAV methods. |
96 The parameter <literal>off</literal> denies all methods processed | 102 The parameter <literal>off</literal> denies all methods processed |
97 by this module, ignoring other parameters; | 103 by this module. |
104 The following methods are supported: | |
105 <literal>PUT</literal>, <literal>DELETE</literal>, <literal>MKCOL</literal>, | |
106 <literal>COPY</literal>, and <literal>MOVE</literal>. | |
98 </para> | 107 </para> |
99 | 108 |
100 <para> | 109 <para> |
101 A file uploaded with the PUT method is first written to a temporary file, | 110 A file uploaded with the PUT method is first written to a temporary file, |
102 then a file is renamed. | 111 then a file is renamed. |