jeffschips

Well-Known Member
Jun 5, 2016
337
52
78
new york
cPanel Access Level
Root Administrator
There are many tutorials out there that spell out how to whitelist an ip or ip range in mod_security, even some specifically for cpanel/WHM. But for whatever reason, they list files and directories that either don't exist on my standard whm/cpanel install or refer to methods that don't apply.

I'm simply looking for a workable method to whitelist google, msn legitimate bots as they crawl directories for information so my sites can make it into their index.

Any suggestions on how to whitelist these legitimate bots and/or ip ranges, would be appreciated. Thanks.
 

jeffschips

Well-Known Member
Jun 5, 2016
337
52
78
new york
cPanel Access Level
Root Administrator
yes I do have configserver installed which I love. Does a great job. I will check but I don't believe I have legitimate bots firewalled there. I will check out that plugin - looks like the perfect tool. thanks.
 

jeffschips

Well-Known Member
Jun 5, 2016
337
52
78
new york
cPanel Access Level
Root Administrator
I understand that I can put entries in csf firewall, but if the legitimate bot is whitelisted in csf, but crawl directories (which they do for indexing purposes) doesn't mod_security rule for directory listing kick in and then block it? That's what I'm seeing:

"error 403 950130:directory listing" <--- mod_security rule hit