• Home
  • Error on Almalinux 9 + mod_security + control-webpanel.com

Error on Almalinux 9 + mod_security + control-webpanel.com

by:admin April 1, 2025 0 Comments

For some reason when you install mod_security the config file for it has an extra line:

LoadFile /usr/lib64/

Which errors out Apache when loading:

httpd: Syntax error on line 512 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/mod_security.conf: Cannot load /usr/lib64/ into server: /usr/lib64/: cannot read file data: Is a directory

Removing that line makes it load fine.  Not sure if another file was supposed to be loaded by that line.   

Currently testing CWP on Alma Linux 9.4

Categories:

Leave Comment