I have a lot of sites on my cPanel server and I need to block access to all of them for some IP ranges. Doing this on the firewall level is not appropriate because my server may need to talk back to those ranges at some point. I only want to prevent the serving of web pages to those ranges.
I figure the best way to do this is within httpd.conf but I have no idea how to add these rules for all sites in one go.