Mercurial > hg > nginx-site
annotate xml/en/docs/http/ngx_http_dav_module.xml @ 695:2eb83e89b239
Added the OCSP stapling documentation in English.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 02 Oct 2012 13:44:56 +0000 |
parents | 764fbac1b8b4 |
children | 8ff309263cb9 |
rev | line source |
---|---|
371
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
2 |
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
371
diff
changeset
|
3 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
371
diff
changeset
|
4 Copyright (C) Igor Sysoev |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
371
diff
changeset
|
5 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
371
diff
changeset
|
6 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
371
diff
changeset
|
7 |
371
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
9 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
10 <module name="Module ngx_http_dav_module" |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
11 link="/en/docs/http/ngx_http_dav_module.html" |
589 | 12 lang="en" |
13 rev="1"> | |
371
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
14 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
15 <section id="summary"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
16 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
17 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
18 The <literal>ngx_http_dav_module</literal> module processes HTTP and WebDAV |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
19 methods PUT, DELETE, MKCOL, COPY, and MOVE. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
20 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
21 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
22 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
23 This module is not built by default, it should be enabled with the |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
24 <literal>--with-http_dav_module</literal> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
25 configuration parameter. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
26 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
27 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
28 </section> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
29 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
30 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
31 <section id="example" name="Example Configuration"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
32 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
33 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
34 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
35 location / { |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
36 root /data/www; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
37 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
38 client_body_temp_path /data/client_temp; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
39 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
40 dav_methods PUT DELETE MKCOL COPY MOVE; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
41 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
42 create_full_put_path on; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
43 dav_access group:rw all:r; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
44 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 limit_except GET { |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
46 allow 192.168.1.0/32; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
47 deny all; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
48 } |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
49 } |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
50 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
51 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
52 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
53 </section> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
54 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
55 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
56 <section id="directives" name="Directives"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
57 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
58 <directive name="dav_access"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
59 <syntax><value>users</value>:<value>permissions</value> ...</syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
60 <default>user:rw</default> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
61 <context>http</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
62 <context>server</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
63 <context>location</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
64 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
65 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
66 Sets access permissions for newly created files and directories, e.g.: |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
67 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
68 dav_access user:rw group:rw all:r; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
69 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
70 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
71 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
72 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
73 If any <literal>group</literal> or <literal>all</literal> access permissions |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
74 are specified then <literal>user</literal> permissions may be omitted: |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
75 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
76 dav_access group:rw all:r; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
77 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
78 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
79 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
80 </directive> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
81 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
82 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
83 <directive name="dav_methods"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
84 <syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
85 <literal>off</literal> | <literal>put</literal> | |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
86 <literal>delete</literal> | <literal>mkcol</literal> | |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
87 <literal>copy</literal> | <literal>move</literal> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
88 ...</syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
89 <default>off</default> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
90 <context>http</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
91 <context>server</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
92 <context>location</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
93 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
94 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
95 Allows the specified HTTP and WebDAV methods. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
96 The parameter <literal>off</literal> denies all methods processed |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
97 by this module, ignoring other parameters; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
98 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
99 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
100 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
101 A file uploaded with the PUT method is first written to a temporary file, |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
102 then a file is renamed. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
103 Starting from version 0.8.9 temporary files and the persistent store |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
104 can be put on different file systems but be aware that in this case |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
105 a file is copied across two file systems instead of the cheap rename operation. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
106 It is thus recommended that for any given location both saved files and a |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
107 directory holding temporary files set by the |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
108 <link doc="ngx_http_core_module.xml" id="client_body_temp_path"/> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
109 directive are put on the same file system. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
110 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
111 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
112 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
113 When creating a file with the PUT method, it is possible to specify |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
114 the modification date by passing it in the <header>Date</header> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
115 header field. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
116 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
117 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
118 </directive> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
119 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
120 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
121 <directive name="create_full_put_path"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
122 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
123 <default>off</default> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
124 <context>http</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
125 <context>server</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
126 <context>location</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
127 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
128 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
129 The WebDAV specification only allows to create files in already |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
130 existing directories. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
131 This directive allows to create all needed intermediate directories. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
132 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
133 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
134 </directive> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
135 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
136 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
137 <directive name="min_delete_depth"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
138 <syntax><value>number</value></syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
139 <default>0</default> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
140 <context>http</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
141 <context>server</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
142 <context>location</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
143 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
144 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
145 Allows the DELETE method to remove files provided that |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
146 the number of elements in a request path is not less than the specified. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
147 For example, the directive |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
148 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
149 min_delete_depth 4; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
150 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
151 allows to remove files on requests |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
152 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
153 /users/00/00/name |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
154 /users/00/00/name/pic.jpg |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
155 /users/00/00/page.html |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
156 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
157 and denies the removal of |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
158 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
159 /users/00/00 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
160 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
161 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
162 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
163 </directive> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
164 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
165 </section> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
166 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
167 </module> |