My /etc/apache2/conf.d/modsec/modsec2.cpanel.conf was modified and now is not correct. How can I regenerate this file to ensure all my rules load properly?
Procedure
The fastest way to regenerate the modsec2.cpanel.conf file is to run the following command as root.
# whmapi1 modsec_deploy_settings_changes