Debian/Ubuntu Nginx init Script (opt)

February 28th, 2011 No comments »

Normally if you install Nginx from a repository this init script would already be included. However if you installed from source, or did not use the standard paths, you may need this.

The Importance of Caching WordPress

February 16th, 2011 8 comments »

The core of Wordpress is rather badly coded when it comes to speed and optimization. Yes I said it; despite using Wordpress for most of my client’s sites as well as my own. Thus why its so very important to use caching with Wordpress. Within you’ll see just how pitiful Wordpress is uncached.

IPv6 with OpenVz (venet)

February 16th, 2011 No comments »

While setting up IPv6 connectivity on host systems, OpenVz w/ veth, or Xen containers is easy, doing the same with a typical OpenVz container using venet tends to run into problems. This guide shows you how to get IPv6 going on a OpenVz VPS that only has venet available to it. Also included, some tweaks and caveats regarding setting up Nginx, Apache (httpd), and other services with IPv6 connectivity.

Protecting Folders with Nginx

February 5th, 2011 No comments »

This question comes up every so often, and its actually fairly easy besides the fact you do not use an .htaccess file. This writeup will show you how to implement auth_basic in Nginx as well as some alternatives to the htpasswd utility installed.

Deploying circuits.web with Nginx/uwsgi

January 31st, 2011 No comments »

I’m a very minimal person when it comes to frameworks, I don’t generally like something that needs to generate an entire application file structure like you’d see with Django. When I was searching around for various frameworks to get me started with python and web development, I investigated the usual; DJango, CherryPy, Web.Py. I fell in love with circuits due it’s ease and simplicity, yet it can be quite powerful. This article will show you how to get Nginx setup with uWSGI along with a sample circuits.web application.

Apache and Nginx Together

January 30th, 2011 No comments »

This article is basically food-for-thought for those who wish to use Nginx either side-by-side or in front of the Apache (httpd) HTTP Server. Within covers tweaking the two to work with each other as well as some configuration scenarios.

Securing a Thumb Drive with TrueCrypt

January 15th, 2011 No comments »

Thumb drives (aka flash drives) are extremely useful storage devices; they’re portable and easy to use, and with growing capacity used by more people every day. However they are more easily lost or stolen. Most thumbdrives offer no prevention against exposing the data within to unauthorized access. This article will show you how to secure your thumb drive with a powerful but free software called Truecrypt.

Stop from Traversing your Redirects

November 12th, 2010 No comments » is one of my favorite URL Shortener, but it has one major flaw when it comes to link building; it tends to drill down to the final destination of a link and shortens the link at the end. This can make shortening a prosper redirect nearly impossible as the shortened url bypasses it completely. The hack for this is within.

Mimic Apache mod_geoip in Nginx

November 12th, 2010 No comments »

Maxmind makes a variety of APIs and tools to use their geolocation database and one such tool is the mod_geoip module for Apache. This article will show you how to setup Nginx’s own geoip module and mimic the same variables presented to PHP like Apache does.

Generating Ioncube Licenses

September 28th, 2010 No comments »

Ioncube Encoder Pro or Cerberus is required to generate license files that can be distributed to your customers. Most of the nitty-gritty involved with the make_license executable can be found in the user guide (a pdf document) distributed with the encoder in section 4. The entry level version of Ioncube Pro cannot generate licenses, however […]