Migrating your IMAP mail? Here’s how!

For those of you who are changing their IMAP email account to a different server, there is a very nice utility called imapsync. The utility is actually written in PERL so it can run on any number of hosts that support PERL scripting, and while it has many config options, here is the actual command we used to transfer an email account from our server to Google Apps Mail account(GMail is the same) from a Linux box: The command imapsync \ --host1 thinkovi.com --user1 email@thinkovi.com --pa...

Redirecting url with a rewrite rule

Lets suppose you have made some changes to your website and you want to redirect some pages to their new url format, this .htaccess rewrite rule might come in handy: RewriteEngine on RewriteCond %{REQUEST_URI} ^(.*)subpage1/subpage2/mypage.html$ RewriteCond %{QUERY_STRING} Itemid=91&page=mypage$ RewriteRule ^(.*)$ http://mynewurl.com/index.php?mypage=new What the above condition does is redirect /subpage1/subpage2/mypage.html?Itemid=91&page=mypage url to http://mynewurl.com/index.ph...

Recovering from disk failures

As you might know, disk drives, specially in high usage areas like hosting enviroments, have a tendency of crashing from time to time. Most crashes you will encounter are related to bad blocks on your hard drive which in some cases will stop your operating system from booting, leaving your server at a stop. There are several utilities which can help you detect and fix the bad blocks at a software level, like the FSCK(file system check) available for Linux, or CHKDSK and SCANDISK for Windo...

Down and dirty with SquirrelMail

I have to admit, the gmail and yahoo new email interfaces are great, if you don't mind the advertising, and very easy to use, however i have been using for a long time SquirrelMail to access the email directly on my server! While the interface that comes with the cpanel installation is very basic, there is one thing i would have liked to have, like in Yahoo, when you get an email, the page title automatically changes with the number of unread emails! Now, squirrelmail already have ...

Installing PHP on Windows got easier! finally….!

It seems that, earlier this year, Microsoft released a small application called Web Platform Installer , a utility meant to be dead simple to install a range of web applications and get your website up and going fast on a IIS server. Beside the usual Microsoft web applications support like ASP.NET and SQL SERVER, they also added support for PHP, facilitating this way the installation of a range of web publishing tools like Drupal, Moodle and Wordpress, hope I see some Joomla! there as it'...