Jun 18

Whitelisting multiple IPs in mod_evasive

Category: Linux,webserver   — Published by goeszen on June 18, 2014 at 1:03 pm

In case you want to whitelist multiple IPs or IP-Ranges in mod_evasive, for example localhost and bing, you'll have to use multiple lines (NOT a comma or space separated list!):

DOSWhitelist    127.0.0.1
DOSWhitelist    192.168.1.*
# next is bingbot:
DOSWhitelist    131.253.24.4

I didn't find a direct explanation of this anywhere else...

Leave a Reply

=