Limit Apache connections per IP

Amir Z.

Registered
Jan 25, 2017
1
0
1
Egypt
cPanel Access Level
Root Administrator
Hello,

If you have hosted websites using CloudFlare on a server and to show the real IPs to the visitors you will need to install mod_cloudflare module.

On the other side the IPs on the incoming connections in the server still shown the CloudFlare IPs and the real IPs will appears in the Apache only and I see the CSF monitor the server connections and doesn't monitor Apache IPs then it will not restrict any IP that making high connections on Apache than the marked values in CSF and block them.

How can I limit the connections on Apache from every IP that making high connections ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463