Not sure if this is the appropriate thread for my question but here it goes: I have a rule created for me by a third party that states:
I've created the spam list, named it blacklist-post-content.txt and uploaded to my domain. It doesn't seem to be working however as I never see any logs in WHM/Plugins/Mod Security logs. Is there another way to do this? I tried to click on the spam links in the delayed free individual rulesets on the home page but they seem to be broken. Thanks in advance.# post content phrase match - catch pills, pron etc
SecRule ARGS_POST "@pmFromFile /home/mydomain/public_html/modsecurity/blacklist-post-content.txt" \
"phase:2, log,deny,status:406,t:none, t:compressWhiteSpace, t:replaceNulls, t:urlDecode, t:lowercase, msg:'POST: blacklisted post content. '"