試してないけど 2.4 は Order Allow Deny な行を削除しつつ置き換えかな
Require not ip 5.9
Require not ip 8.35.201
Require not env spammer
Require not env BlockRobots
ttps://httpd.apache.org/docs/2.4/ja/mod/mod_authz_core.html