{"id":232883,"date":"2014-08-11T11:34:03","date_gmt":"2014-08-11T07:34:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=232883"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=232883","title":{"rendered":"<span class=\"post_title\">\u041a\u0430\u043a \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u0442\u044c nginx \u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0432\u0435\u0431 \u043a\u043b\u0438\u0435\u043d\u0442<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412 Microsoft Windows \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 2\u043a \u0432\u0441\u0442\u0440\u043e\u0435\u043d \u0412\u0435\u0431 \u041a\u043b\u0438\u0435\u043d\u0442, \u043f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 WebDav, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 HTTP\/HTTPS.<br \/>  \u041a\u043b\u0438\u0435\u043d\u0442 \u043f\u0438\u0441\u0430\u043b\u0441\u044f \u044f\u0432\u043d\u043e \u043f\u043e\u0434 \u0441\u0435\u0431\u044f (\u0441\u0432\u044f\u0437\u043a\u0430 \u0441 IIS) \u0438 \u043e\u0442 \u0442\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 <s>\u043a\u043e\u0440\u044f\u0432\u043e<\/s>\u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u043e.<br \/>  \u042d\u0442\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u00ab\u043c\u0430\u043b\u043e\u0439\u00bb \u043a\u0440\u043e\u0432\u044c\u044e \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0438\u0441\u043a \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044f VPN \u0434\u043b\u044f \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0430 SAMBA \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430.<br \/>  SAMB-\u0443 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0442\u043e\u0436\u0435 \u0431\u0435\u0437 VPN \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u0442\u044c, \u043d\u043e \u044d\u0442\u043e \u0438\u0437 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u0440\u0438\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c\u0438.<\/p>\n<p>  Nginx \u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0435 \u0438\u043c\u0435\u0435\u0442 \u043d\u0435 \u043f\u043e\u043b\u043d\u0443\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 WebDav: PUT DELETE MKCOL COPY MOVE.<br \/>  \u0420\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0435\u0433\u043e \u0435\u0449\u0451 \u0434\u0432\u0443\u043c\u044f: PROPFIND \u0438 OPTIONS \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043b\u0430\u0433\u0438\u043d\u0430: <a href=\"https:\/\/github.com\/arut\/nginx-dav-ext-module\">dav-ext<\/a><\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u0430\u043a \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u043d\u0434\u043e\u0432\u044b\u0439 WebDav \u043a\u043b\u0438\u0435\u043d\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 Nginx \u043a\u043e\u043b\u0434\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<br \/>  + \u043f\u0430\u0440\u0430 \u043c\u0435\u043b\u043a\u0438\u0445 \u0431\u0430\u0433\u043e\u0432 Nginx.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f Nginx \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 WebDav, dav-ext \u043c\u043e\u0434\u0443\u043b\u0435\u043c \u0438 rewrite.<br \/>  [x] HTTP_DAV Enable http_webdav module<br \/>  [x] HTTP_DAV_EXT 3rd party webdav_ext module<br \/>  [x] HTTP_REWRITE Enable http_rewrite module<\/p>\n<h4>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 1<\/h4>\n<p>  \u041c\u0430\u0439\u043a\u0440\u043e\u0441\u043e\u0444\u0442 \u043d\u0430\u0440\u0443\u0448\u0430\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u044b \u0438 \u0441\u0432\u043e\u0438 \u043e\u0431\u0435\u0449\u0430\u043d\u0438\u044f. (\u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e)<br \/>  <img decoding=\"async\" src=\"http:\/\/netlab.linkpc.net\/download\/software\/nginx\/WebDav\/PROPFIND_err.png\"\/><\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b WebDav \u043a\u043b\u0438\u0435\u043d\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u043f\u043e\u0441\u044b\u043b\u0430\u044f \u0437\u0430\u043f\u0440\u043e\u0441:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0417\u0430\u043f\u0440\u043e\u0441<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>PROPFIND \/!!!!\/test.lnk HTTP\/1.1 Connection: Keep-Alive User-Agent: Microsoft-WebDAV-MiniRedir\/6.1.7601 Depth: 0 translate: f Content-Length: 0 Host: 172.16.0.254:8089<\/pre>\n<\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412 \u043e\u0442\u0432\u0435\u0442 IIS \u0435\u043c\u0443 \u0432\u044b\u0434\u0430\u0451\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>HTTP\/1.1 404 Resource Not Found Content-Length: 1635 Content-Type: text\/html Server: Microsoft-IIS\/6.0 X-Powered-By: ASP.NET Date: Sun, 10 Aug 2014 20:06:08 GMT  &lt;!DOCTYPE HTML PUBLIC &quot;-\/\/W3C\/\/DTD HTML 4.01\/\/EN&quot; &quot;http:\/\/www.w3.org\/TR\/html4\/strict.dtd&quot;&gt; ...<\/pre>\n<\/div>\n<\/div>\n<p>  \u0422\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043a\u043e\u0434 207 \u0438 xml \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043f\u0438\u0441\u0430\u043d \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438 \u043a\u043e\u0434 \u0434\u043b\u044f \u043d\u0435\u0433\u043e, \u0442\u0435 404 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0432 xml.<br \/>  \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u0432: <a href=\"http:\/\/tools.ietf.org\/html\/rfc2518#page-24\">tools.ietf.org\/html\/rfc2518#page-24<\/a><br \/>  \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0434\u043e\u043a\u043e\u0432 \u043c\u0441: <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/aa142960\">msdn.microsoft.com\/en-us\/library\/aa142960<\/a>(v=exchg.65).aspx<br \/>  \u0423 \u044f\u043d\u0434\u0435\u043a\u0441\u0430 \u0442\u043e\u0436\u0435 \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 xml: <a href=\"http:\/\/api.yandex.ru\/disk\/doc\/dg\/reference\/propfind_property-request.xml\">api.yandex.ru\/disk\/doc\/dg\/reference\/propfind_property-request.xml<\/a><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0442\u0432\u0435\u0442 Nginx<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>HTTP\/1.1 207 Multi-Status Server: nginx\/1.7.4 Date: Sun, 10 Aug 2014 21:17:34 GMT Transfer-Encoding: chunked Connection: keep-alive Keep-Alive: timeout=60  47 &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; &lt;D:multistatus xmlns:D=&quot;DAV:&quot;&gt;  cc &lt;D:response&gt; &lt;D:href&gt;\/Family\/INSURGENCIES AND COUNTERING INSURGENCIES.pdf - ...........lnk&lt;\/D:href&gt; &lt;D:propstat&gt; &lt;D:prop&gt; &lt;\/D:prop&gt; &lt;D:status&gt;HTTP\/1.1 404 Not Found&lt;\/D:status&gt; &lt;\/D:propstat&gt; &lt;\/D:response&gt;  11 &lt;\/D:multistatus&gt;  0<\/pre>\n<\/div>\n<\/div>\n<p>  \u0422\u0430\u043a\u043e\u0439 \u00ab\u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u044b\u0439\u00bb \u043e\u0442\u0432\u0435\u0442 \u0441\u043d\u043e\u0441\u0438\u0442 \u0433\u043e\u043b\u043e\u0432\u0443 WebDav \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0432\u0438\u043d\u0434\u044b.<\/p>\n<p>  \u0424\u0438\u043a\u0441\u0438\u043c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044d\u0442\u043e \u0441\u0432\u0435\u0434\u0451\u0442 \u0441 \u0443\u043c\u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435, \u043f\u043e\u0440\u044f\u0434\u043e\u0447\u043d\u044b\u0435 WebDav \u043a\u043b\u0438\u0435\u043d\u0442\u044b, \u043d\u043e \u043b\u0438\u0447\u043d\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u0431\u044b\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043d\u0435 \u0442\u0430\u043a\u043e\u0439 \u043a\u0430\u043a \u0432\u0441\u0435):  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0424\u0438\u043a\u0441 1<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>error_page\t599 = @propfind_handler; if ($request_method = PROPFIND) { \treturn 599; }  location @propfind_handler { \tinternal;  \topen_file_cache\toff; \tif (!-e $webdav_root\/$uri) { # Microsoft specific handle. \t\treturn 404; \t} \troot\t\t$webdav_root; \tdav_ext_methods\tPROPFIND; }<\/pre>\n<\/div>\n<\/div>\n<h4>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 2<\/h4>\n<p>  <img decoding=\"async\" src=\"http:\/\/netlab.linkpc.net\/download\/software\/nginx\/WebDav\/PROPPATCH_err.png\"\/><br \/>  WebDav \u043e\u0442 \u043c\u0441 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0447\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 PROPPATCH, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432 Nginx \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u0445 \u043d\u0435\u0442. \u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0442.<br \/>  \u042f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0440\u0435\u0448\u0435\u043d\u0438\u044f:<br \/>  1. \u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u043a Nginx \u0438\u043b\u0438 \u043f\u0430\u0442\u0447 \u043a dav-ext, \u043a\u043e\u0440\u043e\u0447\u0435 \u0421\u0438 \u043a\u043e\u0434 \u0438 \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0430 Nginx.<br \/>  2. \u041f\u043e\u043b\u043e\u0436\u0438\u0442\u0441\u044f \u043d\u0430 \u043a\u0440\u0438\u0432\u043e\u0441\u0442\u044c \u0432\u0438\u043d\u0434\u043e\u0432\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 WebDav \u0438 \u0441\u043a\u043e\u0440\u043c\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043e\u0442\u0432\u0435\u0442.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0417\u0430\u043f\u0440\u043e\u0441<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>PROPPATCH \/Family\/INSURGENCIES%20AND%20COUNTERING%20INSURGENCIES.pdf%20-%20%D0%AF%D1%80%D0%BB%D1%8B%D0%BA.lnk HTTP\/1.1 Cache-Control: no-cache Connection: Keep-Alive Pragma: no-cache Content-Type: text\/xml; charset=&quot;utf-8&quot; User-Agent: Microsoft-WebDAV-MiniRedir\/6.1.7601 translate: f Content-Length: 443 Host: xxx.xxx.net  &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;&lt;D:propertyupdate xmlns:D=&quot;DAV:&quot; xmlns:Z=&quot;urn:schemas-microsoft-com:&quot;&gt;&lt;D:set&gt;&lt;D:prop&gt;&lt;Z:Win32CreationTime&gt;Sun, 10 Aug 2014 21:30:21 GMT&lt;\/Z:Win32CreationTime&gt;&lt;Z:Win32LastAccessTime&gt;Sun, 10 Aug 2014 21:30:22 GMT&lt;\/Z:Win32LastAccessTime&gt;&lt;Z:Win32LastModifiedTime&gt;Sun, 10 Aug 2014 21:30:22 GMT&lt;\/Z:Win32LastModifiedTime&gt;&lt;Z:Win32FileAttributes&gt;00000020&lt;\/Z:Win32FileAttributes&gt;&lt;\/D:prop&gt;&lt;\/D:set&gt;&lt;\/D:propertyupdate&gt;<\/pre>\n<\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0442\u0432\u0435\u0442 IIS<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>HTTP\/1.1 207 Multi-Status Date: Sun, 10 Aug 2014 12:24:47 GMT Server: Microsoft-IIS\/6.0 X-Powered-By: ASP.NET Content-Type: text\/xml Transfer-Encoding: chunked  &lt;?xml version=&quot;1.0&quot;?&gt;&lt;a:multistatus xmlns:a=&quot;DAV:&quot; xmlns:b=&quot;urn:schemas-microsoft-com:&quot;&gt;&lt;a:response&gt;&lt;a:href&gt;http:\/\/172.16.0.254:8088\/\/!!!!\/INSURGENCIES%20AND%20COUNTERING%20INSURGENCIES.pdf%20-%20%D0%AF%D1%80%D0%BB%D1%8B%D0%BA.lnk&lt;\/a:href&gt;&lt;a:propstat&gt;&lt;a:status&gt;HTTP\/1.1 200 OK&lt;\/a:status&gt;&lt;a:prop&gt;&lt;b:Win32CreationTime\/&gt;&lt;b:Win32LastAccessTime\/&gt;&lt;b:Win32LastModifiedTime\/&gt;&lt;b:Win32FileAttributes\/&gt;&lt;\/a:prop&gt;&lt;\/a:propstat&gt;&lt;\/a:response&gt;&lt;\/a:multistatus&gt; 0<\/pre>\n<\/div>\n<\/div>\n<p>  \u00ab\u041f\u0440\u043e\u043f\u0440\u0438\u0442\u0435\u0440\u0438\u0430\u0440\u0449\u0438\u043d\u0430\u00bb, \u2014 \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u044f. \u0412\u043e\u0442 \u043a\u043e\u043c\u0443 \u0442\u0430\u043a\u043e\u0435 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0430\u0434\u043e?<br \/>  \u0418 \u043a\u0430\u043a \u044d\u0442\u0438 \u0432\u0441\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u041e\u0421 \u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0424\u0421?..<\/p>\n<p>  \u0422\u0430\u043a \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0432\u0442\u043e\u0440\u043e\u0439 \u0444\u0438\u043a\u0441 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0424\u0438\u043a\u0441 2<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>if ($request_method = PROPPATCH) { # Unsupported, allways return OK. \tadd_header\tContent-Type 'text\/xml'; \treturn\t\t207 '&lt;?xml version=&quot;1.0&quot;?&gt;&lt;a:multistatus xmlns:a=&quot;DAV:&quot;&gt;&lt;a:response&gt;&lt;a:propstat&gt;&lt;a:status&gt;HTTP\/1.1 200 OK&lt;\/a:status&gt;&lt;\/a:propstat&gt;&lt;\/a:response&gt;&lt;\/a:multistatus&gt;'; }<\/pre>\n<\/div>\n<\/div>\n<p>  \u0418\u0437 \u043e\u0442\u0432\u0435\u0442\u0430 IIS \u044f \u0432\u044b\u043a\u0438\u043d\u0443\u043b \u0432\u0441\u0451 \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0438 \u0432\u0438\u043d\u0434\u043e\u0432\u044b\u0439 WebDav \u044d\u0442\u043e \u043f\u0440\u043e\u0433\u043b\u043e\u0442\u0438\u043b.<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0435 \u0438 \u0433\u0440\u0443\u043f\u043f\u044b \u0444\u0430\u0439\u043b\u043e\u0432 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0434\u0438\u0441\u043a \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043f\u043e WebDav.<br \/>  \u041c\u0438\u043d\u0443\u0441\u043e\u043c \u2014 \u043d\u0435 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0430\u0442\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f, \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b. \u042f \u043f\u0435\u0440\u0435\u0436\u0438\u0432\u0443.<\/p>\n<h4>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 3<\/h4>\n<p>  \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0430\u043f\u043e\u043a.<br \/>  <img decoding=\"async\" src=\"http:\/\/netlab.linkpc.net\/download\/software\/nginx\/WebDav\/MKCOL_err.png\"\/><br \/>  \u0421\u043c \u043f1 \ud83d\ude42<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0437\u0430\u043f\u0440\u043e\u0441<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>MKCOL \/Family\/MR3020 HTTP\/1.1 Connection: Keep-Alive User-Agent: Microsoft-WebDAV-MiniRedir\/6.1.7601 translate: f Content-Length: 0 Host: xxx.xxx.net<\/pre>\n<\/div>\n<\/div>\n<p>  Nginx \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 (\u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u044f \u043a\u043e\u0434, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043d\u043e \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e)  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0442\u0432\u0435\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>HTTP\/1.1 409 Conflict Server: nginx\/1.7.4 Date: Sun, 10 Aug 2014 21:43:15 GMT Content-Type: text\/html Content-Length: 166 Connection: keep-alive Keep-Alive: timeout=60  &lt;html&gt; &lt;head&gt;&lt;title&gt;409 Conflict&lt;\/title&gt;&lt;\/head&gt; &lt;body bgcolor=&quot;white&quot;&gt; &lt;center&gt;&lt;h1&gt;409 Conflict&lt;\/h1&gt;&lt;\/center&gt; &lt;hr&gt;&lt;center&gt;nginx\/1.7.4&lt;\/center&gt; &lt;\/body&gt; &lt;\/html&gt;<\/pre>\n<\/div>\n<\/div>\n<p>  IIS \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442: HTTP\/1.1 201 Created, \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0430\u043c \u043d\u0435 \u043d\u0430 \u0447\u0442\u043e.<\/p>\n<p>  \u041a\u0430\u043a \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u043e:<br \/>  \u0423 \u043c\u0430\u0439\u043a\u0440\u043e\u0441\u043e\u0444\u0442\u0430: <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/aa142923\">msdn.microsoft.com\/en-us\/library\/aa142923<\/a>(v=exchg.65).aspx<br \/>  \u0423 \u044f\u043d\u0434\u0435\u043a\u0441\u0430: <a href=\"http:\/\/api.yandex.ru\/disk\/doc\/dg\/reference\/mkcol.xml\">api.yandex.ru\/disk\/doc\/dg\/reference\/mkcol.xml<\/a><br \/>  \u0418 \u0434\u0430\u0436\u0435 \u0432 RFC: <a href=\"http:\/\/tools.ietf.org\/html\/rfc2518#page-33\">tools.ietf.org\/html\/rfc2518#page-33<\/a><\/p>\n<p>  \u0412\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 URL \u043e\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0448\u0435\u043c.<br \/>  \u041d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 WebDav \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043e\u0442 \u043c\u0441.<\/p>\n<p>  \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043e\u043f\u044f\u0442\u044c \u0431\u044b\u043b\u043e \u0434\u0432\u0430:<br \/>  1. \u041f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b: <a href=\"http:\/\/lxr.nginx.org\/source\/src\/http\/modules\/ngx_http_dav_module.c\">lxr.nginx.org\/source\/src\/http\/modules\/ngx_http_dav_module.c<\/a> \u0441\u0442\u0440\u043e\u0447\u043a\u0438 484 \u2014 493, \u0442\u0430\u043c \u043a\u0430\u043a \u0440\u0430\u0437 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0441\u043b\u0435\u0448\u0430 \u0438 \u0435\u0433\u043e \u043e\u0442\u0440\u0435\u0437\u0430\u043d\u0438\u0435.<br \/>  2. \u041f\u043e\u0444\u0438\u043a\u0441\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0444\u0438\u0433.<\/p>\n<p>  \u0412\u0430\u0440\u0438\u0430\u043d\u0442 1 \u044f \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u043d\u0430 \u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0435\u0440\u043e\u0432 nginx, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0443 \u043e\u043d\u043e \u0438 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0443\u0433\u0430\u0442\u044c\u0441\u044f. \u0421\u0432\u044f\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u043e\u0442\u0441\u044b\u043b\u043a\u043e\u0439 \u043f\u0430\u0442\u0447\u0435\u0439 \u0442\u043e\u0436\u0435 \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c.<\/p>\n<p>  \u041f\u0440\u0430\u0432\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0424\u0438\u043a\u0441 3<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>if ($request_method = MKCOL) { # Microsoft specific handle: add trailing slash. \trewrite ^(.*[^\/])$ $1\/; }<\/pre>\n<\/div>\n<\/div>\n<p>  \u0412\u043e\u0442 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0443\u0441\u0442\u044f\u043a\u0430 \u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0441\u044f REWRITE \u043f\u043b\u0430\u0433\u0438\u043d.<\/p>\n<h4>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 4<\/h4>\n<p>  \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043f\u043e\u043a.<br \/>  \u041d\u043e\u0433\u0438 \u0442\u0443\u0442 \u0442\u0435 \u0436\u0435 \u0447\u0442\u043e \u0438 \u0432 \u043f3: \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u043b\u0435\u0448\u0430 \u043d\u0430 \u043a\u043e\u043d\u0446\u0435 \u0443\u0440\u043b\u0430.<br \/>  \u041e\u0434\u043d\u0430\u043a\u043e \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e nginx \u0442\u043e\u0436\u0435 \u0432\u0435\u0434\u0451\u0442 \u0441\u0435\u0431\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e.<br \/>  1. \u0415\u0441\u043b\u0438 \u0441\u043b\u0435\u0448 \u043d\u0430 \u043a\u043e\u043d\u0446\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0442\u043e nginx \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0447\u0442\u043e \u0435\u0433\u043e \u043f\u0440\u043e\u0441\u044f\u0442 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b, \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443: 21: Is a directory \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c.<br \/>  2. \u0415\u0441\u043b\u0438 \u0441\u043b\u0435\u0448 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u043e \u043f\u0430\u043f\u043a\u0443 \u043e\u043d \u043f\u043e\u0447\u0435\u043c\u0443 \u0442\u043e \u0442\u0430\u043a \u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u044f\u0435\u0442. \u041f\u043e\u0434\u043e\u0437\u0440\u0435\u0432\u0430\u044e \u0442\u0443\u0442 \u0433\u0434\u0435 \u0442\u043e \u0431\u0430\u0433 \u0441\u0430\u043c\u043e\u0433\u043e nginx.<\/p>\n<p>  \u0424\u0438\u043a\u0441 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0424\u0438\u043a\u0441 4<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>error_page\t598 = @delete_handler; if ($request_method = DELETE) { \treturn 598; }  location @delete_handler { \tinternal;  \topen_file_cache\toff; \tif (-d $webdav_root\/$uri) { # Add trailing slash to dirs. \t\trewrite ^(.*[^\/])$ $1\/; \t} \troot\t\t$webdav_root; \tdav_methods\tDELETE; }<\/pre>\n<\/div>\n<\/div>\n<p>  \u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e, \u0442\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 DELETE \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043b\u043e\u043a\u0435\u0439\u0448\u0438\u043d (\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443), \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0435\u0441\u043b\u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0430\u043f\u043a\u0430 \u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043b\u0435\u0448.<\/p>\n<h4>\u0415\u0449\u0451 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e Nginx<\/h4>\n<p>  \u041d\u0435 \u0442\u0440\u0443\u0434\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e nginx \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432 \u043e\u0442\u0432\u0435\u0442\u044b:<br \/>  Content-Type: text\/xml<br \/>  \u0438 \u0445\u043e\u0442\u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u043d\u043e \u0432\u0441\u0451 \u0436\u0435 \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.<\/p>\n<p>  \u042d\u0442\u043e \u0443\u0436\u0435 \u0442\u0440\u0435\u0442\u0438\u0439 \u0440\u0430\u0437 \u043a\u043e\u0433\u0434\u0430 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c nginx \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u0430 \u043c\u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u044f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0418\u0433\u043e\u0440\u044c \u2014 \u043c\u043e\u043b\u043e\u0434\u0435\u0446!<br \/>  \u041f\u0440\u043e\u0448\u043b\u044b\u0435 \u0440\u0430\u0437\u044b \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u043a\u0435\u0448\u0438\u0440\u0443\u044e\u0448\u0438\u0439 \u043f\u0440\u043e\u043a\u0441\u0438 \u0441 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u043f\u043e \u0443\u0440\u043b \u0438 UPnP\/DLNA \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<h4>\u041a\u043e\u043d\u0444\u0438\u0433 nginx \u0434\u043b\u044f WebDav<\/h4>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">WebDav \u0434\u043b\u044f Nginx<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre># WebDAV set $webdav_root &quot;\/mnt\/WebDav_folder&quot;; location ^~ \/Family {  \troot\t\t$webdav_root; \terror_page\t599 = @propfind_handler; \terror_page\t598 = @delete_handler; \tchunked_transfer_encoding\ton; \topen_file_cache\toff; \tclient_max_body_size\t\t50m; \tadd_header\tAllow 'OPTIONS, GET, HEAD, DELETE, PUT, COPY, MOVE, PROPFIND';  \tif ($request_method = PROPFIND) { \t\treturn 599; \t} \tif ($request_method = PROPPATCH) { # Unsupported, allways return OK. \t\tadd_header\tContent-Type 'text\/xml'; \t\treturn\t\t207 '&lt;?xml version=&quot;1.0&quot;?&gt;&lt;a:multistatus xmlns:a=&quot;DAV:&quot;&gt;&lt;a:response&gt;&lt;a:propstat&gt;&lt;a:status&gt;HTTP\/1.1 200 OK&lt;\/a:status&gt;&lt;\/a:propstat&gt;&lt;\/a:response&gt;&lt;\/a:multistatus&gt;'; \t} \tif ($request_method = MKCOL) { # Microsoft specific handle: add trailing slash. \t\trewrite ^(.*[^\/])$ $1\/; \t} \tif ($request_method = DELETE) { \t\treturn 598; \t}  \tdav_methods\tPUT MKCOL COPY MOVE; # \tdav_ext_methods\tOPTIONS; \tcreate_full_put_path\ton; \tmin_delete_depth\t0; \tdav_access \tuser:rw group:rw all:rw; } location @propfind_handler { \tinternal;  \topen_file_cache\toff; \tif (!-e $webdav_root\/$uri) { # Microsoft specific handle. \t\treturn 404; \t} \troot\t\t$webdav_root; \tdav_ext_methods\tPROPFIND; } location @delete_handler { \tinternal;  \topen_file_cache\toff; \tif (-d $webdav_root\/$uri) { # Add trailing slash to dirs. \t\trewrite ^(.*[^\/])$ $1\/; \t} \troot\t\t$webdav_root; \tdav_methods\tDELETE; }<\/pre>\n<\/div>\n<\/div>\n<p>  open_file_cache off; \u2014 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u044b \u043c\u0435\u043d\u044f\u0435\u043c \u0444\u0430\u0439\u043b\u044b, \u0435\u0441\u043b\u0438 \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u043b\u0433\u043e \u0433\u0430\u0434\u0430\u0442\u044c \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435 \u0432\u0438\u0434\u043d\u043e \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0437\u0430\u043a\u0438\u043d\u0443\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<h4>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430<\/h4>\n<p>  \u041e\u043d \u043a\u0430\u043a \u043a\u0430\u043f\u0440\u0438\u0437\u043d\u044b\u0439 \u0440\u0435\u0431\u0451\u043d\u043e\u043a, \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u0435\u043c\u0443 \u043f\u043e\u0434\u0430\u0432\u0430\u0439 SSL \u0438 \u043d\u0438\u043a\u0430\u043a\u043e\u0439 Basic \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438, \u0444\u0430\u0439\u043b\u044b \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 50 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442, \u0432 \u043f\u0430\u043f\u043a\u0430\u0445 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 500-1000 \u0444\u0430\u0439\u043b\u043e\u0432.<br \/>  \u0423\u0432\u044b, \u043d\u043e \u0434\u0430\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u044b \u0431\u043e\u043b\u0435\u0435 4\u0433\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f. (\u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u0437 \u0437\u0430 \u043a\u0440\u0438\u0432\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0444\u0430\u0439\u043b\u044b \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c\/\u043d\u0430 \u0434\u0438\u0441\u043a \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043c\u0435\u043d\u0435\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0439 \u0434\u0438\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440, \u044d\u0442\u043e \u043c\u043e\u0438 \u0434\u043e\u043c\u044b\u0441\u043b\u044b.)<\/p>\n<p>  \u0412\u043e\u0442 \u0437\u0434\u0435\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c: <a href=\"http:\/\/blogs.msdn.com\/b\/robert_mcmurray\/archive\/2008\/01\/17\/webdav-redirector-registry-settings.aspx\">blogs.msdn.com\/b\/robert_mcmurray\/archive\/2008\/01\/17\/webdav-redirector-registry-settings.aspx<\/a><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 WebClient \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0442\u0430\u043a<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre>Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\WebClient\\Parameters] &quot;SupportLocking&quot;=dword:00000000 &quot;InternetServerTimeoutInSec&quot;=dword:0000001e &quot;ServiceDllUnloadOnStop&quot;=dword:00000001 &quot;ServerNotFoundCacheLifeTimeInSec&quot;=dword:0000000a &quot;ClientDebug&quot;=dword:00000000 &quot;FileSizeLimitInBytes&quot;=dword:ffffffff &quot;SendReceiveTimeoutInSec&quot;=dword:0000003c &quot;LocalServerTimeoutInSec&quot;=dword:0000000f &quot;FileAttributesLimitInBytes&quot;=dword:00989680 &quot;AcceptOfficeAndTahoeServers&quot;=dword:00000001 &quot;ServiceDebug&quot;=dword:00000000 &quot;BasicAuthLevel&quot;=dword:00000002<\/pre>\n<\/div>\n<\/div>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/232883\/\"> http:\/\/habrahabr.ru\/post\/232883\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0412 Microsoft Windows \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 2\u043a \u0432\u0441\u0442\u0440\u043e\u0435\u043d \u0412\u0435\u0431 \u041a\u043b\u0438\u0435\u043d\u0442, \u043f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 WebDav, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 HTTP\/HTTPS.<br \/>  \u041a\u043b\u0438\u0435\u043d\u0442 \u043f\u0438\u0441\u0430\u043b\u0441\u044f \u044f\u0432\u043d\u043e \u043f\u043e\u0434 \u0441\u0435\u0431\u044f (\u0441\u0432\u044f\u0437\u043a\u0430 \u0441 IIS) \u0438 \u043e\u0442 \u0442\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 <s>\u043a\u043e\u0440\u044f\u0432\u043e<\/s>\u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u043e.<br \/>  \u042d\u0442\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u00ab\u043c\u0430\u043b\u043e\u0439\u00bb \u043a\u0440\u043e\u0432\u044c\u044e \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0438\u0441\u043a \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044f VPN \u0434\u043b\u044f \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0430 SAMBA \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430.<br \/>  SAMB-\u0443 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0442\u043e\u0436\u0435 \u0431\u0435\u0437 VPN \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u0442\u044c, \u043d\u043e \u044d\u0442\u043e \u0438\u0437 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u0440\u0438\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u044f\u043c\u0438.<\/p>\n<p>  Nginx \u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0435 \u0438\u043c\u0435\u0435\u0442 \u043d\u0435 \u043f\u043e\u043b\u043d\u0443\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 WebDav: PUT DELETE MKCOL COPY MOVE.<br \/>  \u0420\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0435\u0433\u043e \u0435\u0449\u0451 \u0434\u0432\u0443\u043c\u044f: PROPFIND \u0438 OPTIONS \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043b\u0430\u0433\u0438\u043d\u0430: <a href=\"https:\/\/github.com\/arut\/nginx-dav-ext-module\">dav-ext<\/a><\/p>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u0430\u043a \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u043d\u0434\u043e\u0432\u044b\u0439 WebDav \u043a\u043b\u0438\u0435\u043d\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 Nginx \u043a\u043e\u043b\u0434\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<br \/>  + \u043f\u0430\u0440\u0430 \u043c\u0435\u043b\u043a\u0438\u0445 \u0431\u0430\u0433\u043e\u0432 Nginx.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-232883","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/232883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=232883"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/232883\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=232883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=232883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=232883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}