How do I verify the commented out rules paths are correct after migrating from EasyApache3 to 4?
Hi, I'm new to the forum and have registered in order to post this question, having spent the last couple of hours combing the cpanel documentation and this forum for an answer without success.
I migrated my VPS from EasyApache3 to EasyApache4 a couple of hours ago and, during the migration process, I received an email from the system that reads;
"The EasyApache 4 migration found Apache Include directives in the ModSecurity 2 user configuration file, modsec2.user.conf.To ensure that your web server continues to function correctly, the system commented out these directives.You must review your ModSecurity 2 configuration and verify your Include directive paths."
When I navigate to "WHM >> Security Center >> Mod Security Tools >> Edit Rules" I find the following;
---
SecDataDir /var/asl/data/msa
SecAuditLogStorageDir /var/asl/data/audit
SecTmpDir /tmp
# Include /opt/mod_security/whitelist.conf
# Include /opt/mod_security/hg_whitelist.conf
# Include /opt/mod_security/10_asl_rules.conf
# Include /opt/mod_security/hg_rules.conf
---
My question is; How do I verify whether or not those commented out rules paths are correct?
I have not been able to find any instructions/procedure on this forum nor in the cpanel documentation on what I need to do in order to verify the paths are correct, only that I need to manually edit them after verifying that they are correct.
My server info is:
CENTOS 6.9 virtuozzo
v70.0.51
Thanks.
Please sign in to leave a comment.
Comments
0 comments