cosmin

Well-Known Member
Feb 6, 2002
158
3
318
Bucuresti
I use mod_qos and I want to put in settings to ignore Google Bot IPs.

Now I have
Code:
<IfModule mod_qos.c>
# handles connections from up to 100000 different IPs
QS_ClientEntries 100000
# allow only 20 connections per IP
QS_SrvMaxConnPerIP 10
# maximum number of active TCP connections is limited to 256
MaxClients 256
# disables keep-alive when 70% of the TCP connections are occupied:
QS_SrvMaxConnClose 180
# minimum request/response speed (deny slow clients blocking the server, ie. slowloris keeping connections open without requesting anything). Example: Requires a minimum of 150 bytes per second per connection, and limits the connection to 1200 bytes per second when the server reaches the MaxClients limit.:
QS_SrvMinDataRate 150 1200
# and limit request header and body (carefull, that limits uploads and post requests too):
# LimitRequestFields 30
# QS_LimitRequestBody 102400
#
# disables connection restrictions for certain clients like Google IP ranges:
QS_SrvMaxConnExcludeIP 66.249.

# restricts max concurrent requests for any location which has no individual rule:
QS_LocRequestLimitDefault 100
</IfModule>
but google is blocked.

Were is the problem?

Many thanks!
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
Hello,

Is it possible the IP addresses are blocked by another application? What's the specific entry you see in /usr/local/apache/logs/error_log when the IP address is blocked?

Thank you.
 

cosmin

Well-Known Member
Feb 6, 2002
158
3
318
Bucuresti
No, I have only csf for blocking IP.
In error_log I have

[Mon Jun 20 22:18:39 2016] [error] [client 66.249.66.185] mod_qos(045): access denied, invalid request line: can't parse uri, c=66.249.66.185, id=V2hBj1vYnEYADY769aYAAAAF