Blocking Maliciuos bots from accessing your website

It is always a nuisance when unnecessary bots start hitting your website. It can increase CPU load on your server and may cause MySQL overhead as well, if your website driven by any database. Though the bot access says to be controlled using robots.txt files, most malicious bots do not honor rules defined in robots.txt file. The most reputed … Read more

ntPHPSelector – short_open_tag

I have noticed many users are reporting miscellaneous issues ( like PHP blank pages ) after switching to additional PHPs. Even many of them could not get phpinfo() working on their custom PHP versions. It is unusual and once ntPHPSelector is installed properly on your server, it should server without any problem. So the first thing you should ensure … Read more

ntPHPselector :: Released v2.0.0

ntPHPselector plugin allows user to select preferred PHP version per directory on the same domain.

Added features

  • The textbox has been removed and directory listing is enabled. So now the user can click and select and directory from the list.
  • Enabled sqlite support for PHP 5.4 and 5.5
  • Enabled server timezone in each php.ini files
  • PHP 5.2.17 download is now from NixTree’s website as cPanel will remove the tarballs from their repo after a while.

    Read more

Install Mod_security for apache on Red Hat / CentOS

ModSecurity : ModSecurity is an open source web application firewall. Working embedded in the web server, or standalone as a network appliance, it detects and prevents attacks against web applications.

In order to use mod_security, you need to turn on EPEL repo under CentOS / RHEL Linux.

RHEL 5.x / CentOS 5.x Users

Type the following command as root user to install repo:

# rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

RHEL 6.x / CentOS 6.x Users

Type the following command as root user to install repo:

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

Once repo is turned on, type the following command to install ModSecurity:

Read more