Created
January 18, 2018 13:59
-
-
Save ipascual/1a7ee313aaeb7bd1e5220ace42a9aa18 to your computer and use it in GitHub Desktop.
apache2 - forensic mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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