How To Install mod_log_post on Fedora 36

In this tutorial we learn how to install mod_log_post in Fedora 36. mod_log_post is Module for the Apache web server to log all HTTP POST messages

Introduction

In this tutorial we learn how to install mod_log_post on Fedora 36.

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 Fedora 36. 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 Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mod_log_post using dnf by running the following command:

sudo dnf -y install mod_log_post

Install mod_log_post on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mod_log_post using yum by running the following command:

sudo yum -y install mod_log_post

How To Uninstall mod_log_post on Fedora 36

To uninstall only the mod_log_post package we can use the following command:

sudo dnf remove mod_log_post

mod_log_post Package Contents on Fedora 36

/etc/httpd/conf.d/log_post.conf
/etc/httpd/conf.modules.d/10-log_post.conf
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/ba2327ed7ae5b28135ade564e28d180f2e58ca
/usr/lib64/httpd/modules/mod_log_post.so
/usr/share/doc/mod_log_post
/usr/share/doc/mod_log_post/ChangeLog
/usr/share/doc/mod_log_post/README
/usr/share/licenses/mod_log_post
/usr/share/licenses/mod_log_post/COPYING
/usr/share/licenses/mod_log_post/LICENSING_EXCEPTION

References

Summary

In this tutorial we learn how to install mod_log_post on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).