How to increase mod_security limit?
Hello,
I am getting the following error:
[Wed Aug 28 00:01:59.754080 2019] [:error] [pid 2205210] [client 79.131.xxx.xxx:51068] [client 79.131.xxx.xxx] ModSecurity: Request body no files data length is larger than the configured limit (1048576).. Deny with code (413) [hostname "www.xxxxxxxxxxx.com"> [uri "/administrator/index.php"> [unique_id "XWWaRXIGCdT-HduogLbF@AAAACE">, referer: -
Put these: SecResponseBodyLimit 546870912 SecRequestBodyNoFilesLimit 10485760
in /etc/apache2/conf.d/modsec/modsec2.user.conf and restart Apache0 -
Put these:
SecResponseBodyLimit 546870912 SecRequestBodyNoFilesLimit 10485760
in /etc/apache2/conf.d/modsec/modsec2.user.conf and restart Apache
Thank you! Everythink is ok, now.0 -
Hello @Joo Inter Let us know if the advice provided by @quietFinn helped and if you have any further questions or concerns. 0 -
Hello @Joo Inter Let us know if the advice provided by @quietFinn helped and if you have any further questions or concerns.
The advice provided by @quietFinn helped me.0
Please sign in to leave a comment.
Comments
4 comments