I configured the CATALOG option for one server.
How can i copy that configuration to other server, without the need to do the same thing again and again?
What files do i need to copy?
I configured the CATALOG option for one server.
How can i copy that configuration to other server, without the need to do the same thing again and again?
What files do i need to copy?
Do you mean excluding some mod_security rules? If yes, you can:
scp /<path_to_cwaf>/cwaf/etc/yml/exclude.yml root@new-server:/<path_to_cwaf>/cwaf/etc/yml/exclude.yml
After that run /<cwaf_path>/cwaf/scripts/cwaf_cli.pl -ea <some_rule_id_ from_old_server>. It will rebuild /<cwaf_path>/cwaf/etc/httpd/global/zzz_exclude_global.conf
Thank you akabakov, that’s it. :-TU