Hello All,
I tried to put a file - /usr/local/directadmin/custombuild/custom/hooks/modsecurity_rules/post/xxxx.sh (owned by root.root , permission 750) . My script will update /etc/modsecurity.d/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.my.conf automatically after modsecurity rule updates.
If I run "da build modsecurity_rules" , the above hook post script worked fine.
If I run "da build update_versions" , it includes modsecurity_rules update, however, the above hook script did not run.
Is it expected?
Thank you
Regards
George
I tried to put a file - /usr/local/directadmin/custombuild/custom/hooks/modsecurity_rules/post/xxxx.sh (owned by root.root , permission 750) . My script will update /etc/modsecurity.d/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.my.conf automatically after modsecurity rule updates.
If I run "da build modsecurity_rules" , the above hook post script worked fine.
If I run "da build update_versions" , it includes modsecurity_rules update, however, the above hook script did not run.
Is it expected?
Thank you
Regards
George