Traditionally for every SSL certificate issued, you needed a separate and unique IP address. However if you compile OpenSSL and NginX with TLS SNI (Server Name Identification) support you can install multiple SSL certificates without having to bind a domain name to a specific IP address or require each certificate to have its own unique IP.
Path_Info & PHP_SELF woes [NginX]
December 12th, 2009 3 comments »Over the last couple of years I’ve been constantly researching for a way to get the PHP environment variables to show up correctly. My latest pains were with PATH_INFO and PHP_SELF, which are now finally solved.
Cloaking and Faking the Referrer
November 23rd, 2009 2 comments »Sometimes you simply have to hide, or in some case fake the referrer from your destination. This article shows you how to fake the referrer using PHP + cURL, as well as how to cloak your referrers from your advertisers.
WordPress Automatic Update with SSH
November 22nd, 2009 1 comment »If you’re like me, you don’t even want the insecure FTP protocol running on your server, but by default wordpress doesn’t even give you the option of using SSH to automatically upgrade your plugins, or wordpress itself. This article shows how you can add a few extra lines to wp-config.php to enable automatic updates with wordpress.
Using Namecheap’s Free SSL with Nginx
November 21st, 2009 3 comments »Most of my domains are registered with Namecheap, and powered by Nginx. The site you are viewing now is one such example. Currently with Namecheap, domain registrations, hosting, transfers and WhoIS protection come with a free PositiveSSL subscription. This section will show you how to generate a certificate request with OpenSSL and how to install the provided certificate into Nginx.
Handling wildcard subdomains with PHP
November 5th, 2009 No comments »Subdomains can be a very handy way to make your urls more friendly looking. They can also be incredibly useful for membership driven websites to allow members to have their own custom subdomain. But how do make manage dynamic subdomains with PHP? This article shows you how.
Nginx and Django
September 14th, 2009 1 comment »In a previous guide I showed how to use Passenger (aka mod_rails) to work with Python (WSGI) scripts. While this proved effective for simple wsgi applications, a framework such as Django required a bit more love. This guide will walk you through getting Django to work with Nginx and Passenger.
Using Python with Nginx via Passenger
September 14th, 2009 3 comments »Since Nginx 0.6.* I been looking for an effective way to run Python (WSGI) applications thru the Nginx Webserver. The best solution thus far for up to Nginx 0.8.* was in an unexpected utility designed for deploying Ruby applications on Apache and Nginx.
Updated: November 21st 2009
- Comment from Hongli Lai, Co-founder of Phusion
- Information from Graham Dumpleton, creator of mod_wsgi for Apache
Scraping Google Front Page Results
August 25th, 2009 5 comments »In this article I’ll show you how you can use cURL and simple_html_dom functionality to scrap the basic content from the front page results of google provided with a search query.
Four free Geolocation Methods
August 22nd, 2009 No comments »Geolocation or Geo-Targeting is a method of identifying a visitor’s location in the world. You can use this information for anything as simple as greeting a visitor in their native language to automatically redirecting visitors to valid affiliate offers for the visiting demographic. This article takes a look at four different services that offer geolocation for free.
