Skip to main content



Wave the Plesk magic wand

·51 words·1 min
If Plesk ever appears to be out of sync with the configuration files, or if there’s a Plesk issue that’s occurring that makes no sense at all, just stand back and wave the Plesk magic wand:

Make Apache logs mimic IIS

·31 words·1 min
To make Apache write logs similar to IIS, toss this into your Apache configuration:

Moving mail between some Plesk servers

·115 words·1 min
If you’re migrating a domain, sometimes their mail will go to the old server for a while after you’ve changed the DNS.

Verify that SSLv2 is disabled

·74 words·1 min
If you’re looking to get PCI/CISP compliance, or you just like better security, disable SSL version 2.

Plesk admin user can’t login

·47 words·1 min
Okay, so you’ve verified that the correct admin password is being used, but you still can’t login?

Argument list too long

·39 words·1 min
If you have a ton of files in a directory and you need to remove them, but rm says that the “argument list [is] too long”, just use find and xargs:

Strip off www from URLs with mod_rewrite

·56 words·1 min
If you need to remove subdomains from the URL that users enter to visit your website, toss this into your VirtualHost directive:

Sum Apache Bandwidth From Logs

·34 words·1 min
If you’re not a fan of scientific notation, use this to calculate the apache bandwidth used from log files in MB:

Repairing the qmail queue

·278 words·2 mins
There are three main things to remember when it comes to the qmail queue:

Securing MySQL

·419 words·2 mins
If you work on enough servers, you discover that a lot of people put the security of their MySQL server on the back burner.

MySQL Row & Data Limits

·197 words·1 min
As most folks know, by default, MySQL limits the size of a MyISAM table at 4GB.


About Sticky Bits

·333 words·2 mins
Sticky bits help you take file permissions to the next level.

Can’t Kill Sendmail Processes

·98 words·1 min
If you find yourself in the sticky situation where kill -9 still won’t kill a sendmail process, check the process list.

Raising MaxClients? Change ServerLimit.

·114 words·1 min
Remember, if you raise MaxClients for an MPM in Apache, you must raise the ServerLimit directive, which is normally set to 256 on most servers.

Rootkit Checks on RHEL

·206 words·1 min
If you think you have a rooted RHEL box, you’ll want to run the usual rkhunter, chkrootkit, and you will want to inspect for rogue processes.

Group Editing With FTP

·223 words·2 mins
So you have multiple users that need to read and write to certain files on the filesystem?

Fixing Invalid HELO’s

·329 words·2 mins
If your server is spewing an invalid HELO, you could be blacklisted pretty quickly.