Apache - mod security - Request body (Content-Length) is larger than the configured limit

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Версия от 16:01, 28 марта 2017; Admin iph (обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

Доступная цена


Apache - mod security - Request body (Content-Length) is larger than the configured limit

Ошибка в логах Apache для домена:

 [error] [client ] ModSecurity: Request body (Content-Length) is larger than the configured limit (134217728). [hostname ""] [uri "/index/session/catalogue/admin/pred/add/do/"] [unique_id "WNqDyS4EJQ0AAGh0QPIAAAAQ"]


Решается увеличением директивы SecRequestBodyLimit до 600MB, например:

# vi /etc/httpd/conf.d/mod_security.conf
SecRequestBodyLimit 600000000
# /etc/init.d/httpd restart