Enable HTTPS for All Virtual Hosts on Nginx – For Free

This article shows you how to enable HTTPS for all your virtual hosts on a dedicated Nginx server. At the time of writing, certbot is still a beta software and Let’s Encrypt is at its early release. The method describes here is a cost effective way to enable encryption on your personal server. I don't recommend that you use it on your production server. The softwares may contain bugs and security vulnerabilities, use them at your own discretion.
Continue reading

Apache Performance Problem on Vista

Just switch my operating system to Vista, and my biggest complaint about it is that it breaks my Apache HTTP server. The server still runs, but very slowly. The symptom is as follow: every time I reload a web page from the browser, there usually is a 2-3 seconds delay before the loading sequence starts. This shouldn't be happening because I serve all my files locally, so I expect no delay at all. Also, this behavior does not occur in XP.

After some excessive searches, I found a forum post (forgot the URL, will update this when I hit the site again) that suggests uninstalling Zone Alarm will resolve the problem. I gave it a try since I was in nowhere in solving the problem. Surprisingly the uninstallation did cure the delay issue of Apache. Beware that you HAVE TO restart Vista after uninstallation, otherwise you will not see the changes.

That's right, I uninstalled my firewall. So replacement? I like Zone Alarm and enjoy using it, but it doesn't seem to be very stable on Vista. However, I've found another great firewall product, Comodo Firewall Pro, which is a commercial grade firewall free of charge.

Setting Up Your Own Web Server on a Windows Machine – Part III (MySQL)

This tutorial will walk you through the installation process of MySQL server under Windows XP. This part of the tutorial requires you to have Apache HTTP server and PHP installed on your local machine. If you haven't done so, you can read the part one of this tutorial to complete Apache installation. Also, you can complete the second part of this tutorial to have PHP installed. We will use Apache version 2.2.4, PHP 5.2.1 and MySQL 5.0.37 for this tutorial.

Continue reading

Setting Up Your Own Web Server on a Windows Machine (Apache HTTP Server)

This is a step-by-step tutorial that teaches you how to install a web server under Windows XP. The tutorial is for those who want to have a web server running on their local machine as a test server but don't know how to get started. In addition to the web server, this tutorial will also guide you how to manually install PHP 5 and MySQL 5 (without installers).
Continue reading