Update 12/12/2010: Now i finally have the clues. It was plugins fault. Now i break to debug all the plugins query to the database.From my previous post 504 Gateway Timeout With Nginx And Apache, i still having the same issue. But now i finally breakdown to what exactly cause it. Nginx will produce 504 gateway timeout error when the Apache response time reach the nginx proxy timeout. And what cause the Apache slow to response to the request, is the MySQL database slow query and high memory … Read more...

504 Gateway Timeout With Nginx And Apache
Well these couple days i spent a lot of my time debugging the nginx 504 gateway timeout error. As far as my understanding this error 504 caused by proxy timeout, or nginx wait too long for apche response. By the way i installed nginx as reverse proxy with Apache to server my static files. You can refer to my previous post: Install nginx as Reverse Proxy With Apache.As i’m digging with Google, there are lot of possibilities of this problem. Some says because of fastcgi_read_timeout, but … Read more...

Have Your Own QR Codes With goo.gl URL Shortener
goo.gl is url shortener service just like bit.ly or t.co from twitter. As the biggest search engine, no doubt that Google have a very stable and reliable server. From their blogpost, goo.gl offers stability, security and speed. And plus you’ll get an incredibly ugly QR codes for your shortened url.But what is QR code and what is it for? Well Danny Sullivan from searchengineland.com has explained it very well in his blogpost: What is a QR code and why do you need one. QR is short for Quick … Read more...

SEO For Beginner Videos From WordPress and Google
SEO or search engine optimization is a technique or a process to increase your web visibility on search engine search results for a certain search keywords. As nowadays Google is widely used for searching anything on the net, SEO becomes more and more important if you want your websites have lot of visitors. As a website owners of course you want your website to be highly visited for any reasons.So i would like to share these 2 videos from Matt Cutts, a head of Google Web Spam team, … Read more...

Upgrade Nginx Without Downtime
It’s been more than 2 months now i have been using Nginx (read: Engine X) as reverse proxy server with Apache to server static files such as javascripts, css, images, etc. You can refer to my previous post about how to install nginx as reverse proxy in your web server. The result is, my website loading time is much faster.Well at first installation i used nginx v0.7.63 and the latest stable as i write this post is v0.8.53. There are lot of changes and bug fixes. So i decided to upgrade it … Read more...

Bring Your WordPress Blog To Local Server For Testing Environment
As a WordPress bloggers, plugin developers or themes designers you should have a local server for a testing environment. In Ubuntu you can easily install apache and mysql as it is bundled in default installation cd. And in Windows you can use XAMPP as a handy web server (you can refer to my previous post Local Server For Testing Environment With XAMPP On Windows for more details). And you can use XAMPP for Mac as well. But the point is you need a local server environment to designing, developing … Read more...

Regular Expressions Cheat Sheet
Regular expressions (regex or regexp) provide a concise and flexible means for matching strings of text, for instance particular characters, words, or patterns of characters. A regular expression is written in a formal language that can be interpreted by a normal expression processor, a program that either serves as a parser generator or examines text and identifies parts that match the provided specification.Regular expressions are used by quite a few text editors, utilities, and … Read more...

WordPress 3.0.2 Hardening Security Released
WordPress 3.0.2 has been released on November 30, 2010 and ready for download. This released is fixes a moderate security issue that could allow a malicious Author-level user to gain further access to the site, addresses a handful of bugs, and provides some additional security enhancements.What have been fixed in this released:Remove pingback/trackback blogroll whitelisting feature as it can easily be abused. Fix canonical redirection for permalinks containing %category% with nested … Read more...

Smart Way To Upgrade Your WordPress
WordPress is one of the powerful CMS (Content Management System) for blogger. Which easily to upgrade, maintain, extend and customized. Upgrading WordPress is easy, you just click it from Admin Dashboard > Updates and press the Update Automatically button. But in some case this won’t work.If you have many plugins and customization, WordPress automatically updates won’t work, and to be honest i don’t know why. So what happen if your update process is stop in the middle of the process? … Read more...

Hardening Your Server Security With ConfigServer Security & Firewall
Talking about server side security will come down to firewall or filter connections from and to your server. Close unnecessary ports, block unwanted connection and blacklist spammers are the things that your server admin should do in their everyday life. If you pay attention to your server log, you will found that lot of malicious request and brute force bot attack to find your server vulnerabilities. You should block it with firewall.One of the good and free Firewall module is ConfigServer … Read more...
