how to use mod_security filter spam posting

jackc

Verified User
Joined
Jan 19, 2007
Messages
334
Hello All,

Spamming tools are getting more intelligent everyday, lots of my clients who host forums and blogs have been spammed. I wonder how to use mod_security to check every POST, if a POST contains certain bad words such as "FREE XXX", then mod_security can filter those words or simply block the POST action and return a access forbidden.

Thanks!
 
got it working for english words, is it possible to filter foreign language characters? such as chinese?
 
Yes, sure when I'm done testing, still don't know how to filter something like a sentence contains multiple words. such as "free viagra at www.mydrug.com!" but I only want to filter this sentence when "viagra" and "drug" appear at the same time. I try to use regular expression "viagra.*drug" but didn't work.
 
Back
Top