ModSecurity: Output filter: Response body too large

April 15th, 2008 by admin Leave a reply »

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.

  • Share/Bookmark
Advertisement

Leave a Reply