Install third party ruleset without yaml
-
The file modsec2.user.conf is intended for the purpose of adding or configuring your own rules. Assuming your hosting provider has not managed this file for you, Simply place all the rules files (such as flameeyes_00_settings.conf and so on) in a folder like /usr/local/apache/conf/modsec_rules/ (you'll need to make the directory) then in /usr/local/apache/conf/modsec2.user.conf add the include lines for the rules you want to use; Include "/usr/local/apache/conf/modsec_rules/flameeyes_00_settings.conf" Include "/usr/local/apache/conf/modsec_rules/flameeyes_05_proxy.conf" and so on. 0 -
Thank you very much quizknows for taking the time, it's appreciated (and cPanelMichael for confirming). Regarding the data files (eg flameeyes_bad_browsers.data), where should they go? Thanks. 0 -
the .data files should just need to be in the same directory as the rules files. 0
Please sign in to leave a comment.
Comments
4 comments