Welcome! Log In Create A New Profile

Advanced

Client intended to send too large body

July 01, 2010 03:49PM
Пользователи частенько закачивают большие файлы через upload-форму, даже несмотря на предупреждение.
nginx в ответ на это выдаёт пустую страницу и запись в error.log:
[i]2010/07/01 09:52:03 [error] 6580#0: *3981949 client intended to send too large body: 13793493 bytes[/i]

Возможно ли как-то сделать так, чтобы вместо пустой страницы, скажем, выдавалась определённая, где я бы вывесил ошибку, что "Вы попытались закачать слишком большой файл, попробуйте файл поменьше, бла-бла-бла"? А то некоторые пытаются закачать файлы вплоть до 30-50Мб (jpg, bmp), в то время как у меня сейчас ограничение на 10Мб стоит.
Subject Author Posted

Client intended to send too large body

grigory July 01, 2010 03:49PM

Re: Client intended to send too large body

Daniel Podolsky July 01, 2010 04:00PM

Re: Client intended to send too large body

grigory July 01, 2010 04:24PM

Re: Client intended to send too large body

grigory July 01, 2010 05:06PM

Re: Client intended to send too large body

grigory July 01, 2010 05:08PM

Re: Client intended to send too large body

grigory July 01, 2010 06:10PM

Re: Client intended to send too large body

Anton Bessonov July 01, 2010 04:32PM

Re: Client intended to send too large body

Anton Bessonov July 01, 2010 06:08PM

Re: Client intended to send too large body

Siava July 02, 2010 12:36AM

Re: Client intended to send too large body

grigory July 02, 2010 07:07AM

Re: Client intended to send too large body

grigory July 02, 2010 07:28AM

Re: Client intended to send too large body

grigory July 08, 2010 06:45PM

Re: Client intended to send too large body

Daniel Podolsky July 02, 2010 07:14AM

Re: Client intended to send too large body

hg_04 July 02, 2010 08:00AM

Re: Client intended to send too large body

grigory July 10, 2010 10:26AM

Re: Client intended to send too large body

grigory July 11, 2010 12:53PM

Re: Client intended to send too large body

grigory July 13, 2010 12:09PM

Re: Client intended to send too large body

grigory August 05, 2010 07:13AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 49
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready