Question
How can I regenerate the file /var/cpanel/modsec_cpanel_conf_datastore?
Answer
This file is not always updated properly when rule filenames/locations change and that can lead to errors seen when rebuilding the Apache configuration (Apache rebuild occurs during installation of ModSecurity ruleset). This can be addressed by moving the above file and cache aside:
mv /var/cpanel/modsec_cpanel_conf_datastore{,.bak}
mv /var/cpanel/modsec_cpanel_conf_datastore.cache{,.bak}
Comments
0 comments
Article is closed for comments.