'How to log all HTTP Headers in Apache http server 2.4.43 for a specific port
I have tried modifying the httpd.conf, but none of them yield the result.
Solution 1:[1]
You can enable dumpio logging to log HTTP request and response header.
DumpIOInput On
DumpIOOutput On
LogLevel dumpio:trace7
You can refer https://httpd.apache.org/docs/2.4/mod/mod_dumpio.html
Solution 2:[2]
The solution reported by @Pandurang is almost correct. the configuration is changed as below:
DumpIOInput On
DumpIOOutput On
LogLevel dumpio:trace8
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Pandurang |
| Solution 2 | depperm |
