Login

ModSecurity: Output filter: Response body too large

Si usas mod_security, puede ser que encuentres este error al cargar una página html con gran carga de datos

ModSecurity: Output filter: Response body too large (over limit of 1048576, total length not known). [hostname "www.hostingaldescubierto.com"] [uri "/modsecuritytest.php"] [unique_id "rYJMVH8AAAEAADxj6voAAAAF"]

Esto es debido a un filtro que existe en el fichero /etc/httpd/conf/modsecurity/modsecurity_crs_10_config.conf

SecRequestBodyAccess On
SecResponseBodyAccess On
SecResponseBodyMimeType (null) text/html text/plain text/xml
SecResponseBodyLimit 1048576

Como solución, podemos o bien deshabilitarlo, o bien subir el límite de SecResponseBodyLimit y posteriormente recargar apache para que surtan efecto los cambios.


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply