Where is the mod_qos configuration file?
I am running WHM Server Version: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.1e-fips Apache mod_bwlimited/1.4 mod_qos/10.10
I am having issues with mod_qos, just does not seems to be working like it is on my other other servers.
Example Screenshot: - Removed -
I would like to be able to edit the mod_qos config file and tweak it a bit but cant find it.
Anyone know the path to it?
-
Hello :) Try adding the values to the /usr/local/apache/conf/includes/pre_main_global.conf file and rebuilding the Apache configuration file via: /scripts/rebuildhttpdconf
There is a Mod_QoS example on this document: [url=http://docs.cpanel.net/twiki/bin/view/EasyApache/Apache/SlowlorisAttacks]How To Mitigate Slowloris Attacks Thank you.0 -
[quote="cPanelMichael, post: 1576591">Hello :) Try adding the values to the /usr/local/apache/conf/includes/pre_main_global.conf file and rebuilding the Apache configuration file via: /scripts/rebuildhttpdconf
There is a Mod_QoS example on this document: [url=http://docs.cpanel.net/twiki/bin/view/EasyApache/Apache/SlowlorisAttacks]How To Mitigate Slowloris Attacks Thank you.
AHA, yes thats very useful. Going to try it now. [COLOR="silver">- - - Updated - - - Okay, sorry for my ignorance. I do the following? 1. open up /usr/local/apache/conf/includes/pre_main_global.conf (i did this and the file was empty) 2. add these lines: RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500 3. run: /scripts/rebuildhttpdconf I also ran /scripts/restartsrv_apache. No change though, ip's still hitting the server a million miles an hour.0 -
The document I provided was not intended to provide a solution for an attack on your server. It was simply to show you how to add custom Mod_QoS rules to your Apache configuration. Discussion of the attack you have reported is occurring in your other open thread. Thank you. 0 -
Little bit late, but i think this is helpfull information and was missing. I would like to be able to edit the mod_qos config file and tweak it a bit but cant find it.
i did not found any "qos" named config file in /usr/local/apache nor in /etc i think smartest way to configure it is to go to: WHM " Service Configuration " Apache Configuration " Include Editor >> "Pre VirtualHost Include" >> "All versions" and there paste that code ...mod qos config lines from0
Please sign in to leave a comment.
Comments
4 comments