Fight bots/spiders apache overload

php.ini

default_socket_timeout = 30

 

httpd.conf                                                                                                                                                                                                                                                                                   
Timeout    5

                                                                                                                                                                                                                                                                                
KeepAlive On

# MaxKeepAliveRequests: The maximum number of requests to allow                                                                                                                                                                                                                                  
# during a persistent connection. Set to 0 to allow an unlimited amount.                                                                                                                                                                                                                         
# We recommend you leave this number high, for maximum performance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
MaxKeepAliveRequests 20
                                                                                                                                                                                                                                                                                    
# KeepAliveTimeout: Number of seconds to wait for the next request from the                                                                                                                                                                                                                      
# same client on the same connection.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
KeepAliveTimeout 5

 

 

 

 

<IfModule reqtimeout_module>

  RequestReadTimeout header=2 body=4

</IfModule>
 

Latest Post

Popular Post

Our Skills

Author

Project Director Information Architect Database Administrator Unix Administrator Senior Developer Project Manager Product Manager Web Marketer Cloud Engineer

Contact Us

For any questions or project ideas please contact me at the following.

I'm here