Patrick-Dussault

How to log headers when running Apache ?

Blog Post created by Patrick-Dussault Employee on Mar 13, 2018

Question

 

How to log headers when running Apache ?

 

Answer

 

Configure Apache with the following module :

 

<IfModule log_forensic_module>  ForensicLog /var/log/httpd/forensic_log  </IfModule> 

and the access request will be logged with access data and all the headers received by the Apache server in /var/log/httpd/forensic_log.

Outcomes