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 Bit.ly from Traversing your Redirects
November 12th, 2010 No comments »Bit.ly 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 [...]
SSL: Untrusted Connection in Firefox
June 8th, 2010 No comments »For those of you who have PositiveSSL certificates installed (especially on Nginx webservers) and have experienced an ‘Untrusted Connection’ issue with Firefox, namely due to an Unknown issuer, within is a possible fix.
Apache to Nginx Migration Tips
April 11th, 2010 3 comments »Nginx currently holds shy of 6.5% of the known webserver market, which is just roughly shy of 13 million servers. This little lightweight webserver created by a sole Russian developer has been gaining a great deal of popularity over the last few years and is used by sites such as Wordpress, Texts from Last Night and Hulu.
This guide will provide you with common migration tips to move from an Apache server to an Nginx configuration.
