Re: Ошибка 413
Veryazov Sergey
veryazov at mail.ru
Fri Aug 11 19:45:57 MSD 2006
>>> У меня переопределяется. /srv/nginx.413.html есть ?
>>
>> Исправил:
>> location = /413.html {
>> root /srv/nginx/;
>> #internal;
>> }
>>
>> /srv/nginx/413.html - имеется , виден по прямому запросу.
>
> root можно указывать без слэша, дело не в этом.
>
>>> Нужен отладочный лог.
>> Это как? :)
>
> ../configure --with-debug ...
>
> nginx.conf:
> error_log /path/error.log debug;
Сделал.
Куда выслать полный error.log ?
Вот частично по этой теме:
2006/08/11 19:35:28 [debug] 18685#0: *3 internal redirect: "/413.html?"
2006/08/11 19:35:28 [debug] 18685#0: *3 http phase handler
2006/08/11 19:35:28 [debug] 18685#0: *3 find location for "/413.html"
2006/08/11 19:35:28 [debug] 18685#0: *3 find location: "/"
2006/08/11 19:35:28 [debug] 18685#0: *3 find location: = "/413.html"
2006/08/11 19:35:28 [debug] 18685#0: *3 using configuration "=/413.html"
2006/08/11 19:35:28 [debug] 18685#0: *3 http cl:1978538 max:1048576
2006/08/11 19:35:28 [error] 18685#0: *3 client intented to send too large
body: 1978538 bytes, client: 212.46.203.214, server:...
2006/08/11 19:35:28 [debug] 18685#0: *3 http finalize request: 413,
"/413.html?"
2006/08/11 19:35:28 [debug] 18685#0: *3 http special response: 413,
"/413.html"
2006/08/11 19:35:28 [debug] 18685#0: *3 http set discard body
2006/08/11 19:35:28 [debug] 18685#0: *3 http read discarded body
2006/08/11 19:35:28 [debug] 18685#0: *3 recv: eof:0, avail:0, err:0
2006/08/11 19:35:28 [debug] 18685#0: *3 HTTP/1.1 413 Request Entity Too
Large
Server: nginx/0.3.57
Date: Fri, 11 Aug 2006 15:35:28 GMT
Content-Type: text/html
Content-Length: 199
Connection: close
2006/08/11 19:35:28 [debug] 18685#0: *3 write new buf t:1 f:0 080A75F8, pos
080A75F8, size: 165 file: 0, size: 0
2006/08/11 19:35:28 [debug] 18685#0: *3 http write filter: l:0 f:0 s:165
2006/08/11 19:35:28 [debug] 18685#0: *3 http output filter "/413.html?"
2006/08/11 19:35:28 [debug] 18685#0: *3 copy filter: "/413.html?"
2006/08/11 19:35:28 [debug] 18685#0: *3 http postpone filter "/413.html?"
080A7768
2006/08/11 19:35:28 [debug] 18685#0: *3 http postpone filter out
"/413.html?"
... и т.д.
More information about the nginx-ru
mailing list