Skip to content

Instantly share code, notes, and snippets.

@ipascual
Created January 18, 2018 13:59
Show Gist options
  • Save ipascual/1a7ee313aaeb7bd1e5220ace42a9aa18 to your computer and use it in GitHub Desktop.
Save ipascual/1a7ee313aaeb7bd1e5220ace42a9aa18 to your computer and use it in GitHub Desktop.
apache2 - forensic mode
$ vi /etc/httpd/conf.modules.d/10-forensic.conf
LoadModule log_forensic_module modules/mod_log_forensic.so
LoadModule unique_id_module modules/mod_unique_id.so
ForensicLog logs/forensic_log
$ systemctl restart httpd
$ tail -f /var/log/httpd/forensic_log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment