How to log Request & Response bodies using mod_security module in Apache Httpd?
Issue
- I want to log both request & response bodies in the
mod_securityaudit log in Apache Httpd. - I am unable to print the request & response bodies in the audit log created by the
mod_securitymodule.
Environment
- Red Hat Enterprise Linux (RHEL) 7.9, 8.6, 9.0
- mod_security
- Red Hat JBoss Core Services (JBCS) Apache HTTPD
- mod_security
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.