I'm not sure there are many tutorials for this, especially since the mod_security configuration varies from server to server.
The closest thing I would recommend is to look at the Basic Rules Project . There are tons of rules. A lot of them.
Some common things to avoid:
- including function names in parameters
- using SQL queries / keywords (e.g. SELECT, UPDATE, DELETE FROM) in a URL or POST
- use HTML in URL
What exactly works is subject to change. If possible, I would ask HostGater people what rule it caused, and try to get some feedback. If you do not configure mod_security in your personal field (or virtual machine) and see if your topic launches any of the rules in the main ruleset.
source share