Mod Protective response / request body size?

How to get response / request body size in Mod Security?

I keep getting this error, for example:

[Mon Sep 17 23:34:38 2012] [error] [client 192.168.1.1] ModSecurity: Output filter: Response body too large (over limit of 1000, total not specified). [hostname "example.com"] [uri "/index.php"] [unique_id "asdf"]

This does not tell me the outcome; How can I determine the overall result?

+5
source share
1 answer

Take a look at the SecResponseBodyLimitdocs :

SecResponseBodyLimit

Description. Configures the maximum response body size to be accepted for buffering.

Syntax: SecResponseBodyLimit NUMBER_IN_BYTES

Example usage: SecResponseBodyLimit 524228

Processing Phase: N / A

Scope: Any

/: - 500 Internal Server Error. MIME, . 1 .

512 :

# Buffer response bodies of up to 512 KB in length
SecResponseBodyLimit 524288

- "1000" /index.php 1000 .

+7

All Articles