Join to Get Free Linux Server Hacks & cPanel Tips

From the blog

How to install Tomcat on cPanel servers

Do you require Tomcat server running in order o serve your Java Servlet and Java Server pages and you are using cPanel servers? Don’t worry, cPanel includes an easy way to install tomcat using EasyApache script. How can I install Tomcat on cPanel servers? Login to WHM panel as root, then click on Software >> EasyApache Select Tomcat…

Read More »

Migrate from DSO to suPHP on cPanel/WHM servers

suPHP is an Apache module that let’s you handle PHP requests in a secure and fast way. It’s not as fast as DSO module, however suPHP provides much better security by limit users to use restricted file and directory permissions, and also to run PHP scripts as the real system user, and not as nobody (as it happens…

Read More »

How to Add Barracuda RBL to Exim on cPanel

One of the best ways to stop incoming SPAM on cPanel servers is to use the RBL feature that Exim includes on its configuration. By default, cPanel servers comes with two pre-defined blacklists: RBL: bl.spamcop.net RBL: zen.spamhaus.org Those are disabled by default on standart cPanel installations. However, even if you enable both blacklists, I’m pretty sure you will…

Read More »

How to Install Suhosin on cPanel

Joomla, WordPress, Drupal and other popular web apps are the most common target of web attacks these days, and not everybody is updating this apps as they should to keep their websites safe from vulnerabilities. Suhosin doesn’t update your app code (that’s your responsibility) but it will add another great layer of protection against common attacks for the…

Read More »

How to Disable custom user based php.ini files in cPanel

One of the biggest security issues in cPanel servers is to allow attackers to manipulate PHP settings by their own by placing php.ini files inside public_html directories. If you enable suPHP to enforce your server security, you are on the right path. suPHP forces web process to run as the FTP user, and this is a huge advantage…

Read More »

Dropped: too many syntax or protocol errors Fix

Today one of my customers reported an error while sending emails from Outlook / Outlook Express, after investigating Exim logs I found this: Dropped: too many syntax or protocol errors SMTP connection from [90.29.110.197]:63138 (TCP/IP connection count = 3) SMTP call from (PEMVAR54) [90.29.110.197]:63138 dropped: too many syntax or protocol errors (last command was “RCPT TO: <‘someadress@hotmail.com’>”) This…

Read More »

How to Install Ioncube Loaders

It’s a common practice to encode your PHP code while developing web apps, and in the hosting world one of those companies is WHMCS and their software. In order to decode and execute the PHP from the server side, you must have ioncube loaders enabled on your PHP server. Install IonCube Loaders on cPanel and plain CentOS/RHEL servers…

Read More »