I can't get dumpio to log POST request data.
httpd.conf:
... Include /etc/httpd/conf/httpd-le-ssl.conf ... No LogLevel or dumpio related stuff in there.
httpd-le-ssl.conf:
<virtualHost *:443> ... <IfModule dumpio_module> ErrorLog "logs/dumpio_log" <IfModule log_config_module> LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined </IfModule> DumpIOInput On DumpIOOutput On LogLevel dumpio:trace7 </IfModule> </virtualHost> (I'm not dealing with HTTP on port 80, everything 301-redirected to 443)
I did:
setenforce Permissive (in case SElinux is hindering something)
apachectl configtest (Syntax ok)
apachectl restart
httpd —M |grep -E "dumpio|log_config" (both loaded)
Now, when submitting a POST using a <form methode="POST">, the only thing that's logged:
/var/log/httpd/access_log:
<ip> - - [<date time>] "POST /form.php HTTP/2.0" 200 - "<server url>" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36" but no detailed data. Specifically, there is nothing related in /var/log/httpd/error_log nor in any logs/dumpio_log. The latter file is created but contains 0 bytes.
What am I missing?