Increase Apache 2.0 max clients hard limit from cPanel

If you are using cPanel with Apache 2.0, you will find out your Apache max clients limit is set to 256 only and this is a little harder for a normal server to serve their user.

To make this setting done, you may refer to the step as below.
1. Log into WHM.
2. Select Service Configuration and click on the Apache Configuration.
3. Select Global Configuration.

4. Change the ServerLimit and MaxClients limit to 512, save it.
5. Rebuilt the Apache.

With the above term, make sure that you have enough CPU and Memory resource or your server will down because of limited resource.

How to disable mod_security for an account

Sometimes, you might want to disable the mod_security applied to the virtual server and you might wonder how to do it.

If you are using Apache with mod_security, it could be done from the configuration file.

However, you have to understand the Apache version and mod_security version that you used.

Normally, a hosted server will use Apache 1.x with mod_security 1.x and Apache 2.x with mod_security 2.x.

To find out the Apache version, you may use the following command.

httpd -v

With mod_security 1.x, you may use the following command from each of the virtual host path and add into the .htaccess file.

Continue reading How to disable mod_security for an account