you need to "Include conf/path/to/whitelist.conf" in your modsecurity.conf file.
the IDs represent the IDs of the rules. as a side note, I am a new user of modesecurity(MS) and from what I see in my modsec_audit.log none of those IDs appear there. though I did see some phpids-30 and -60 and such there.
on other note, this is not working on WP 2.8.5 and MS 2.5.10 with core ruleset 2.0.2
I am getting 403 forbidden when trying to post from admin panel. this really sucks if you ask me.
I got my whitelist.conf file to look like this:
[code]
<LocationMatch "/wp-admin/post.php">
SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
</LocationMatch>
<LocationMatch "/wp-admin/admin-ajax.php">
SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
</LocationMatch>
<LocationMatch "/wp-admin/page.php">
SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
</LocationMatch>
<LocationMatch "/wp-admin/options.php">
SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
</LocationMatch>
<LocationMatch "/wp-admin/theme-editor.php">
SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
</LocationMatch>
<LocationMatch "/wp-includes/">
SecRuleRemoveById 960010 960012 950006
</LocationMatch>
[/code]
I am inlcuding the whitelist.conf from the end of the MS conf. not sure if that's right or if the IDs have changed.