Moving mail between some Plesk servers27 January 2007·Updated: 18 April 2024·115 words·1 minIf you’re migrating a domain, sometimes their mail will go to the old server for a while after you’ve changed the DNS.
Enabling CGI in Apache virtual hosts26 January 2007·Updated: 18 April 2024·64 words·1 minAdd this to the Apache configuration:
Finding usernames and passwords in Plesk DB26 January 2007·Updated: 18 April 2024·23 words·1 minNeed a username and password from the Plesk DB?
Increase MySQL connection limit24 January 2007·Updated: 18 April 2024·112 words·1 minMySQL’s default configuration sets the maximum simultaneous connections to 100.
Verify that SSLv2 is disabled24 January 2007·Updated: 18 April 2024·74 words·1 minIf you’re looking to get PCI/CISP compliance, or you just like better security, disable SSL version 2.
Plesk admin user can’t login24 January 2007·Updated: 18 April 2024·47 words·1 minOkay, so you’ve verified that the correct admin password is being used, but you still can’t login?
Can’t upload large files in PHP24 January 2007·Updated: 18 April 2024·25 words·1 minFirst, check max_upload_size in php.
Argument list too long24 January 2007·Updated: 18 April 2024·39 words·1 minIf 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_rewrite15 January 2007·Updated: 18 April 2024·56 words·1 minIf 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 Logs15 January 2007·Updated: 18 April 2024·34 words·1 minIf you’re not a fan of scientific notation, use this to calculate the apache bandwidth used from log files in MB:
Repairing the qmail queue11 January 2007·Updated: 18 April 2024·278 words·2 minsThere are three main things to remember when it comes to the qmail queue:
Securing MySQL5 January 2007·Updated: 18 April 2024·419 words·2 minsIf 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 Limits5 January 2007·Updated: 18 April 2024·197 words·1 minAs most folks know, by default, MySQL limits the size of a MyISAM table at 4GB.
About Sticky Bits31 December 2006·Updated: 18 April 2024·333 words·2 minsSticky bits help you take file permissions to the next level.
Can’t Kill Sendmail Processes29 December 2006·Updated: 18 April 2024·98 words·1 minIf you find yourself in the sticky situation where kill -9 still won’t kill a sendmail process, check the process list.
PHPLive Has No session.save_path27 December 2006·Updated: 18 April 2024·26 words·1 minAdd this to the virtual host configuration if PHPLive says it has no session.
Raising MaxClients? Change ServerLimit.27 December 2006·Updated: 18 April 2024·114 words·1 minRemember, 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 RHEL27 December 2006·Updated: 18 April 2024·206 words·1 minIf 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 FTP27 December 2006·Updated: 18 April 2024·223 words·2 minsSo you have multiple users that need to read and write to certain files on the filesystem?
Fixing Invalid HELO’s27 December 2006·Updated: 18 April 2024·329 words·2 minsIf your server is spewing an invalid HELO, you could be blacklisted pretty quickly.
Postfix – Forwarding Virtual Mailboxes27 December 2006·Updated: 18 April 2024·63 words·1 minSetting up Postfix to handle mail for a virtual domain and forward it to external mailboxes is pretty easy.