How to enable PDO on WHM

For cPanel/WHM, to enable PDO in the system you can use EasyApache: 1. Login to WHM 2. Click Apache Update 3. Click Start Customizing Based on Profile 4. Select an Apache version 5. Click Next Step 6. Select PHP 5 7. Click Next Step 8. Select a version of PHP 5 9. Click Next Step … Read more

Add Mod deflate on Plesk with CentOS 6.5

By default deflate module is already compiled on Plesk based Linux servers(new versions). You just need to add the rules in Apache to enable/load the deflate module. You can test if your website already has mod_deflate enabled using the following tool. http://www.whatsmyip.org/mod_gzip_test/ Check the main httpd.conf file If the result was LoadModule deflate_module modules/mod_deflate.so, you … Read more

Disabling mod_security on Plesk Server

Source: http://www.atomicorp.com/wiki/index.php/Mod_security Getting errors with scripts? [stextbox id=”warning”]Get Request to piwik.php failed. Try whitelisting this URL from HTTP Authentication and disable mod_security[/stextbox] Check for the module – view the loaded modules using the command:

AB Tool for Benchmark

http://httpd.apache.org/docs/2.2/programs/ab.html http://www.cyberciti.biz/tips/howto-performance-benchmarks-a-web-server.html -n 10000: ab will send 1000 number of requests to server 202.54.200.1 in order to perform for the benchmarking session -c 50 : 50 is concurrency number i.e. ab will send 50 number of multiple requests to perform at a time to server 202.54.200.1 Login to Linux/bsd desktop computer and type following command: … Read more

Fastcgi Error

[stextbox id=”warning”]Connection reset by peer: mod_fcgid: error reading data from FastCGI server[/stextbox] Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Jul 31 13:05:21 2014] [error] [client 99.xxx.xx.xx] Premature end of script headers: cron.php Edit fastcgi.conf and add the following:

Domain Masking

Domain Masking (a.k.a. Blind Forwarding) is using a domain name to display a different domain, but still shows the original domain’s name in the address bar. Generally, this is considered a bad idea and not good for SEO, but it is possible. Plesk (Applies to 10 – 11.0) In order to forward a domain blindly, … Read more

How To Set Up Apache Virtual Hosts on Ubuntu 12.04 LTS

About Virtual Hosts
Virtual Hosts are used to run more than one domain off of a single IP address. This is especially useful to people who need to run several sites off of one virtual private server. The sites display different information to the visitors, depending on with which the users accessed the site.There is no limit to the number of virtual hosts that can be added to a VPS.
Set Up
The steps in this tutorial require the user to have root privileges. You can see how to set that up in the here Initial Server Setup. You can implement whatever username suits you.

Read more