Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_dav_module.xml @ 966:95c3c3bbf1ce
Text review.
author | Egor Nikitin <yegor.nikitin@gmail.com> |
---|---|
date | Wed, 14 Aug 2013 12:03:41 +0400 |
parents | 8ff309263cb9 |
children | ca7568f67dee |
comparison
equal
deleted
inserted
replaced
965:fadccc156188 | 966:95c3c3bbf1ce |
---|---|
106 <literal>COPY</literal>, and <literal>MOVE</literal>. | 106 <literal>COPY</literal>, and <literal>MOVE</literal>. |
107 </para> | 107 </para> |
108 | 108 |
109 <para> | 109 <para> |
110 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, |
111 then a file is renamed. | 111 and then the file is renamed. |
112 Starting from version 0.8.9 temporary files and the persistent store | 112 Starting from version 0.8.9, temporary files and the persistent store |
113 can be put on different file systems but be aware that in this case | 113 can be put on different file systems. |
114 a file is copied across two file systems instead of the cheap rename operation. | 114 However, be aware that in this case a file is copied |
115 across two file systems instead of the cheap renaming operation. | |
115 It is thus recommended that for any given location both saved files and a | 116 It is thus recommended that for any given location both saved files and a |
116 directory holding temporary files set by the | 117 directory holding temporary files, set by the |
117 <link doc="ngx_http_core_module.xml" id="client_body_temp_path"/> | 118 <link doc="ngx_http_core_module.xml" id="client_body_temp_path"/> |
118 directive are put on the same file system. | 119 directive, are put on the same file system. |
119 </para> | 120 </para> |
120 | 121 |
121 <para> | 122 <para> |
122 When creating a file with the PUT method, it is possible to specify | 123 When creating a file with the PUT method, it is possible to specify |
123 the modification date by passing it in the <header>Date</header> | 124 the modification date by passing it in the <header>Date</header> |
133 <context>http</context> | 134 <context>http</context> |
134 <context>server</context> | 135 <context>server</context> |
135 <context>location</context> | 136 <context>location</context> |
136 | 137 |
137 <para> | 138 <para> |
138 The WebDAV specification only allows to create files in already | 139 The WebDAV specification only allows creating files in already |
139 existing directories. | 140 existing directories. |
140 This directive allows to create all needed intermediate directories. | 141 This directive allows creating all needed intermediate directories. |
141 </para> | 142 </para> |
142 | 143 |
143 </directive> | 144 </directive> |
144 | 145 |
145 | 146 |
150 <context>server</context> | 151 <context>server</context> |
151 <context>location</context> | 152 <context>location</context> |
152 | 153 |
153 <para> | 154 <para> |
154 Allows the DELETE method to remove files provided that | 155 Allows the DELETE method to remove files provided that |
155 the number of elements in a request path is not less than the specified. | 156 the number of elements in a request path is not less than the specified |
157 number. | |
156 For example, the directive | 158 For example, the directive |
157 <example> | 159 <example> |
158 min_delete_depth 4; | 160 min_delete_depth 4; |
159 </example> | 161 </example> |
160 allows to remove files on requests | 162 allows removing files on requests |
161 <example> | 163 <example> |
162 /users/00/00/name | 164 /users/00/00/name |
163 /users/00/00/name/pic.jpg | 165 /users/00/00/name/pic.jpg |
164 /users/00/00/page.html | 166 /users/00/00/page.html |
165 </example> | 167 </example> |