Hello,
On a CentOS 7 server I installed ea-nginx without any issues with modsec2 working with apache.
But on a CloudLinux 7 server I cannot do the same. ea-nginx has a dependency on ea-modsec30 which conflicts with ea-apache24-mod_security2.
Is there anything I am missing? Why this different behavior and which one is the right behavior?
Thanks
On a CentOS 7 server I installed ea-nginx without any issues with modsec2 working with apache.
Bash:
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
# rpm -qa | grep -e nginx -e mod_*sec
ea-apache24-mod_security2-2.9.3-12.12.6.cpanel.x86_64
ea-modsec-sdbm-util-0.02-1.1.29.cpanel.x86_64
cpanel-ng-whm-nginx-manager-8-1.cp1196.noarch
ea-nginx-1.20.0-1.1.1.cpanel.x86_64
Bash:
Resolving Dependencies
--> Running transaction check
---> Package ea-nginx.x86_64 3:1.19.7-3.el7.cloudlinux will be installed
--> Processing Dependency: ea-modsec30 for package: 3:ea-nginx-1.19.7-3.el7.cloudlinux.x86_64
--> Processing Dependency: ea-modsec30-connector-nginx for package: 3:ea-nginx-1.19.7-3.el7.cloudlinux.x86_64
--> Running transaction check
---> Package ea-modsec30.x86_64 1:3.0.4-6.el7.cloudlinux will be installed
---> Package ea-modsec30-connector-nginx.x86_64 1:1.0.1-1.el7.cloudlinux will be installed
--> Processing Conflict: 2:ea-apache24-mod_security2-2.9.3-4.el7.cloudlinux.x86_64 conflicts mod_security
--> Processing Conflict: 1:ea-modsec30-3.0.4-6.el7.cloudlinux.x86_64 conflicts ea-apache24-mod_security2
--> Finished Dependency Resolution
Is there anything I am missing? Why this different behavior and which one is the right behavior?
Thanks