ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dav и flv


  • To: <nginx-ru@xxxxxxxxx>
  • Subject: dav и flv
  • From: Анатолий Шарифулин <subscribe@xxxxxxxxxx>
  • Date: Mon, 28 Jan 2008 16:06:43 +0300
  • Content-language: ru
  • Thread-index: AchhrqAnNXcWUwpIRmSktBmeFZm5wA==

Привет!

 

Возникла проблема.

Вот конфиг:

 

dav_methods            PUT;

create_full_put_path   on;

dav_access             user:rw group:rw all:rw;

 

root  /?/data;

 

location ~ \.flv$ {

                flv;

}

 

PUT-запросы обрабатываются корректно, кроме файлов с расширением flv.

В ответ 405 ошибка. FLV-стриминг мне нужен, отключить не могу.

Отладочный лог в прикрепленном файле.

 

Есть вариант ? поднять 2 сервера, один отдает контент, другой принимает.

Но хочется обойтись одним сервером.

 

Что делать?

 

2008/01/28 16:01:54 [debug] 23343#0: *5 accept: 89.111.181.211 fd:11
2008/01/28 16:01:54 [debug] 23343#0: *5 post event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 delete posted event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 malloc: 080AF200:648
2008/01/28 16:01:54 [debug] 23343#0: *5 malloc: 080AF490:4096
2008/01/28 16:01:54 [debug] 23343#0: *5 malloc: 080B0498:4096
2008/01/28 16:01:54 [debug] 23343#0: *5 http process request line
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 2896 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 http request line: "PUT /flv_test.flv 
HTTP/1.1"
2008/01/28 16:01:54 [debug] 23343#0: *5 http uri: "/flv_test.flv"
2008/01/28 16:01:54 [debug] 23343#0: *5 http args: ""
2008/01/28 16:01:54 [debug] 23343#0: *5 http exten: "flv"
2008/01/28 16:01:54 [debug] 23343#0: *5 http process request header line
2008/01/28 16:01:54 [debug] 23343#0: *5 http header: "TE: deflate,gzip;q=0.3"
2008/01/28 16:01:54 [debug] 23343#0: *5 http header: "Connection: TE, close"
2008/01/28 16:01:54 [debug] 23343#0: *5 http header: "Host: 89.111.181.207"
2008/01/28 16:01:54 [debug] 23343#0: *5 http header: "User-Agent: 
libwww-perl/5.808"
2008/01/28 16:01:54 [debug] 23343#0: *5 http header: "Content-Length: 1716469"
2008/01/28 16:01:54 [debug] 23343#0: *5 http header done
2008/01/28 16:01:54 [debug] 23343#0: *5 generic phase: 0
2008/01/28 16:01:54 [debug] 23343#0: *5 find location for "/flv_test.flv"
2008/01/28 16:01:54 [debug] 23343#0: *5 find location: ~ "\.flv$"
2008/01/28 16:01:54 [debug] 23343#0: *5 using configuration "\.flv$"
2008/01/28 16:01:54 [debug] 23343#0: *5 http cl:1716469 max:419430400
2008/01/28 16:01:54 [debug] 23343#0: *5 generic phase: 2
2008/01/28 16:01:54 [debug] 23343#0: *5 post rewrite phase: 3
2008/01/28 16:01:54 [debug] 23343#0: *5 generic phase: 4
2008/01/28 16:01:54 [debug] 23343#0: *5 access phase: 5
2008/01/28 16:01:54 [debug] 23343#0: *5 access phase: 6
2008/01/28 16:01:54 [debug] 23343#0: *5 post access phase: 7
2008/01/28 16:01:54 [debug] 23343#0: *5 http finalize request: 405, 
"/flv_test.flv?"
2008/01/28 16:01:54 [debug] 23343#0: *5 http special response: 405, 
"/flv_test.flv"
2008/01/28 16:01:54 [debug] 23343#0: *5 http set discard body
2008/01/28 16:01:54 [debug] 23343#0: *5 http read discarded body
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 -1 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 recv() not ready (11: Resource 
temporarily unavailable)
2008/01/28 16:01:54 [debug] 23343#0: *5 HTTP/1.1 405 Not Allowed
Server: nginx/0.6.16
Date: Mon, 28 Jan 2008 13:01:54 GMT
Content-Type: text/html
Content-Length: 173
Connection: close


2008/01/28 16:01:54 [debug] 23343#0: *5 write new buf t:1 f:0 080B09A4, pos 
080B09A4, size: 152 file: 0, size: 0
2008/01/28 16:01:54 [debug] 23343#0: *5 http write filter: l:0 f:0 s:152
2008/01/28 16:01:54 [debug] 23343#0: *5 http output filter "/flv_test.flv?"
2008/01/28 16:01:54 [debug] 23343#0: *5 copy filter: "/flv_test.flv?"
2008/01/28 16:01:54 [debug] 23343#0: *5 http postpone filter "/flv_test.flv?" 
080B0AF8
2008/01/28 16:01:54 [debug] 23343#0: *5 http postpone filter out 
"/flv_test.flv?"
2008/01/28 16:01:54 [debug] 23343#0: *5 write old buf t:1 f:0 080B09A4, pos 
080B09A4, size: 152 file: 0, size: 0
2008/01/28 16:01:54 [debug] 23343#0: *5 write new buf t:0 f:0 00000000, pos 
0809A080, size: 120 file: 0, size: 0
2008/01/28 16:01:54 [debug] 23343#0: *5 write new buf t:0 f:0 00000000, pos 
08099AA0, size: 53 file: 0, size: 0
2008/01/28 16:01:54 [debug] 23343#0: *5 http write filter: l:1 f:0 s:325
2008/01/28 16:01:54 [debug] 23343#0: *5 http write filter limit 1048576
2008/01/28 16:01:54 [debug] 23343#0: *5 writev: 325
2008/01/28 16:01:54 [debug] 23343#0: *5 http write filter 00000000
2008/01/28 16:01:54 [debug] 23343#0: *5 copy filter: 0 "/flv_test.flv?"
2008/01/28 16:01:54 [debug] 23343#0: *5 http finalize request: 0, 
"/flv_test.flv?"
2008/01/28 16:01:54 [debug] 23343#0: *5 event timer add: 11: 6000:3229444925
2008/01/28 16:01:54 [debug] 23343#0: *5 epoll add event: fd:11 op:1 ev:80000001
2008/01/28 16:01:54 [debug] 23343#0: *5 post event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 delete posted event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 http lingering close handler
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 1448 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: 1448
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 -1 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 recv() not ready (11: Resource 
temporarily unavailable)
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: -2
2008/01/28 16:01:54 [debug] 23343#0: *5 event timer: 11, old: 3229444925, new: 
3229444925
2008/01/28 16:01:54 [debug] 23343#0: *5 post event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 delete posted event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 http lingering close handler
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 1448 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: 1448
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 -1 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 recv() not ready (11: Resource 
temporarily unavailable)
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: -2
2008/01/28 16:01:54 [debug] 23343#0: *5 event timer: 11, old: 3229444925, new: 
3229444925
2008/01/28 16:01:54 [debug] 23343#0: *5 post event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 delete posted event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 http lingering close handler
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 2555 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: 2555
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 -1 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 recv() not ready (11: Resource 
temporarily unavailable)
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: -2
2008/01/28 16:01:54 [debug] 23343#0: *5 event timer: 11, old: 3229444925, new: 
3229444926
2008/01/28 16:01:54 [debug] 23343#0: *5 post event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 delete posted event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 http lingering close handler
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 2896 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: 2896
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 -1 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 recv() not ready (11: Resource 
temporarily unavailable)
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: -2
2008/01/28 16:01:54 [debug] 23343#0: *5 event timer: 11, old: 3229444925, new: 
3229444926
2008/01/28 16:01:54 [debug] 23343#0: *5 post event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 delete posted event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 http lingering close handler
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 2896 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: 2896
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 -1 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 recv() not ready (11: Resource 
temporarily unavailable)
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: -2
2008/01/28 16:01:54 [debug] 23343#0: *5 event timer: 11, old: 3229444925, new: 
3229444926
2008/01/28 16:01:54 [debug] 23343#0: *5 post event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 delete posted event B642D070
2008/01/28 16:01:54 [debug] 23343#0: *5 http lingering close handler
2008/01/28 16:01:54 [debug] 23343#0: *5 recv: fd:11 0 of 4096
2008/01/28 16:01:54 [debug] 23343#0: *5 lingering read: 0
2008/01/28 16:01:54 [debug] 23343#0: *5 http close request
2008/01/28 16:01:54 [debug] 23343#0: *5 http log handler
2008/01/28 16:01:54 [debug] 23343#0: *5 free: 080B0498, unused: 2302
2008/01/28 16:01:54 [debug] 23343#0: *5 close http connection: 11
2008/01/28 16:01:54 [debug] 23343#0: *5 event timer del: 11: 3229444925
2008/01/28 16:01:54 [debug] 23343#0: *5 free: 080AF490
2008/01/28 16:01:54 [debug] 23343#0: *5 free: 080AF200
2008/01/28 16:01:54 [debug] 23343#0: *5 free: 080A9498, unused: 64


 




Copyright © Lexa Software, 1996-2009.