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

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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


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