How To Install mod_log_post on CentOS 7
Introduction
In this tutorial we learn how to install mod_log_post
on CentOS 7.
What is mod_log_post
mod_log_post can be used for logging all HTTP POST messages. The module is based on mod_security but in difference it never returns any error messages to the visitors of your websites. Logging of POST data can be very useful for debugging purposes or analyses. As the module is loaded and run after the SSL decryption, it even can log POST data transmitted before via SSL to the Apache web server.
We can use yum
or dnf
to install mod_log_post
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mod_log_post.
Install mod_log_post on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install mod_log_post
using yum
by running the following command:
Install mod_log_post on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install mod_log_post
using dnf
by running the following command:
How To Uninstall mod_log_post on CentOS 7
To uninstall only the mod_log_post
package we can use the following command:
References
Summary
In this tutorial we learn how to install mod_log_post
on CentOS 7 using yum
and dnf
.