Mercurial > hg > nginx-site
annotate xml/en/docs/http/ngx_http_dav_module.xml @ 371:e5e7d6365612
English translation of ngx_http_dav_module.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 30 Jan 2012 07:32:54 +0000 |
parents | |
children | be54c443235a |
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 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
3 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
4 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
5 <module name="Module ngx_http_dav_module" |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
6 link="/en/docs/http/ngx_http_dav_module.html" |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
7 lang="en"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
8 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
9 <section id="summary"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
10 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
11 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
12 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
|
13 methods PUT, DELETE, MKCOL, COPY, and MOVE. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
14 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
15 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
16 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
17 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
|
18 <literal>--with-http_dav_module</literal> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
19 configuration parameter. |
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 </section> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
23 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
24 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
25 <section id="example" name="Example Configuration"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
26 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
27 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
28 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
29 location / { |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
30 root /data/www; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
31 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
32 client_body_temp_path /data/client_temp; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
33 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
34 dav_methods PUT DELETE MKCOL COPY MOVE; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
35 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
36 create_full_put_path on; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
37 dav_access group:rw all:r; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
38 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
39 limit_except GET { |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
40 allow 192.168.1.0/32; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
41 deny all; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
42 } |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
43 } |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
44 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
46 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
47 </section> |
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 <section id="directives" name="Directives"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
51 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
52 <directive name="dav_access"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
53 <syntax><value>users</value>:<value>permissions</value> ...</syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
54 <default>user:rw</default> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
55 <context>http</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
56 <context>server</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
57 <context>location</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
58 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
59 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
60 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
|
61 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
62 dav_access user:rw group:rw all:r; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
63 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
64 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
65 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
66 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
67 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
|
68 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
|
69 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
70 dav_access group:rw all:r; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
71 </example> |
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 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
74 </directive> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
75 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
76 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
77 <directive name="dav_methods"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
78 <syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
79 <literal>off</literal> | <literal>put</literal> | |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
80 <literal>delete</literal> | <literal>mkcol</literal> | |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
81 <literal>copy</literal> | <literal>move</literal> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
82 ...</syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
83 <default>off</default> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
84 <context>http</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
85 <context>server</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
86 <context>location</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
87 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
88 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
89 Allows the specified HTTP and WebDAV methods. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
90 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
|
91 by this module, ignoring other parameters; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
92 </para> |
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 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
|
96 then a file is renamed. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
97 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
|
98 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
|
99 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
|
100 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
|
101 directory holding temporary files set by the |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
102 <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
|
103 directive are put on the same file system. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
104 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
105 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
106 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
107 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
|
108 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
|
109 header field. |
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 </directive> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
113 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
114 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
115 <directive name="create_full_put_path"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
116 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
117 <default>off</default> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
118 <context>http</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
119 <context>server</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
120 <context>location</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
121 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
122 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
123 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
|
124 existing directories. |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
125 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
|
126 </para> |
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 </directive> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
129 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
130 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
131 <directive name="min_delete_depth"> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
132 <syntax><value>number</value></syntax> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
133 <default>0</default> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
134 <context>http</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
135 <context>server</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
136 <context>location</context> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
137 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
138 <para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
139 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
|
140 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
|
141 For example, the directive |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
142 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
143 min_delete_depth 4; |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
144 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
145 allows to remove files on requests |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
146 <example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
147 /users/00/00/name |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
148 /users/00/00/name/pic.jpg |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
149 /users/00/00/page.html |
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 and denies the removal of |
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 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
154 </example> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
155 </para> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
156 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
157 </directive> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
158 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
159 </section> |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
160 |
e5e7d6365612
English translation of ngx_http_dav_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
161 </module> |