Linux Shell Tips published a tutorial about installing SELinux to harden Apache webserver.
How to Install SELinux to Harden Apache Webserver
Security Enhanced Linux or SELinux is responsible for the implementation of mandatory access control mechanisms on major Linux distributions like Fedora, RHEL, and Rocky Linux. These access control mechanisms guarantee increased security on all processes.
How to Install SELinux to Harden Apache Webserver