ModSecurity: Request body (Content-Length) is larger than the configured limit

Message : ModSecurity: Request body (Content-Length) is larger than the configured limit To resolve the issue, Modify your modsec2.conf and change the limit set for SecRequestBodyInMemoryLimit # vi /etc/httpd/conf/modsec2.conf Search for SecRequestBodyInMemoryLimit SecRequestBodyInMemoryLimit 531072 Increase the value as per your need, save the file and restart the apache service. https://wiki.iphoster.net/wiki/Apache_-_mod_security_-_Request_body_(Content-Length)_is_larger_than_the_configured_limit https://stackoverflow.com/questions/13887812/request-body-content-length-is-larger-than-the-configured-limit https://support.plesk.com/hc/en-us/articles/115001764933-Unable-to-upload-file-to-the-website-Request-body-no-files-data-length-is-larger-than-the-configured-limit- https://forum.directadmin.com/threads/cwaf-request-body-no-files-data-length-is-larger-than-the-configured-limit.61157/ https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual-(v2.x)#SecRequestBodyInMemoryLimit

How to Install ioncube on Linux Centos 7

ionCube is a commercial software consisting of PHP encoders, it is used as an encryption / decryption utility for PHP applications where we can store our data securely. This tutorial will guide you how to install the PHP Ioncube Loaders module in the linux CentOS/ RHEL 7 system. 1) Download ioncube : # wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz …

Read more

How to Configure SSL Certificate in Apache Web Server

This article will show how you can enable ssl on you Apache web server container. ServerAdmin support@domain.com ServerName domain.com DocumentRoot /var/www/html/domain.com <Directory “/var/www/html/domain.com”> Options FollowSymLinks MultiViews AllowOverride All #Allow from all <Directory “/var/www/html/domain.com/wp-content/uploads/”> <Files “*.php”> Order Deny,Allow Deny from All ErrorLog logs/domain.com_ssl_error.log TransferLog logs/domain.com_ssl_access.log # SSL Engine Switch: # Enable/Disable SSL for this virtual host. …

Read more