Apache 2: Исправляем ошибку 413 Request entity too large
Решение ищется просто:
Server:#cd /etc/apache2 Server:/etc/apache2# cat apache2.conf |grep Limit SecRequestBodyLimit 131072 SecRequestBodyInMemoryLimit 131072 SecResponseBodyLimit 524288 Server:/etc/apache2#
Нас интерсует как раз SecRequestBodyLimit, открываем конфигурационный файл Apache2
server:/etc/apache2# nano apache2.conf
Выставляем свое значение для SecRequestBodyLimit , к примеру, на класс выше:
SecRequestBodyLimit 1310720Сохраняем файл, перезагружаем Apache2:
server:/etc/apache2# /etc/init.d/apache2 restart
Все.
