Tag Archives: selinux

Configuring SELinux Policies for Apache Web Servers

Overview SELinux can be very troublesome when deploying web applications on Red Hat while not using the default Apache directories, for either content or logs. Your application may need to be installed in a separate directory or maybe, for other … Continue reading

Posted in Linux | Tagged | Leave a comment

Apache – listen on a different port with SELINUX enabled (Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:82)

SELinux assigns types to all network ports on a system. Ports below 1024 are labeled reserved_port_t and all ports > 1024 are labeled port_ semanage port -l | grep http  ( run yum install policycoreutils-python if you’re missing the binary) … Continue reading

Posted in Linux | Tagged , | Leave a comment