Yearly Archives: 2012

CloudFlare: Restore original visitor IP to Apache Web Servers

Since CloudFlare acts as a reverse proxy for websites, CloudFlare’s IPs are going to show in your server logs. This can be easily identified from awstats or webalizer. There is an easy fix to restore original visitor IP for any web server. 1) Copy the source file mod_cloudflare.c to your web server. wget https://raw.github.com/cloudflare/CloudFlare-Tools/master/mod_cloudflare.c 2)… Read More »

Loading

Use CloudFlare to accelerate your website

How Does CloudFlare’s Technology Work CloudFlare’s technology is built like a CDN (content delivery network). It is a cloud-based, distributed network, which means it has multiple data centers spread across the web. When you add a domain to your CloudFlare account, CloudFlare acts as a proxy. This means that your visitor’s requests to your website… Read More »

Loading

Apache Virtual Hosts in Ubuntu

We are going to create 3 sites, site1.com, site2.com and site3.com 1. Create the folders that will host your new sites. By default, Apache in Ubuntu serves from /var/www. So create these: mkdir /var/www/site1 mkdir /var/www/site2 mkdir /var/www/site3 2. Copy the current default setting found in /etc/apache2/sites-available/default and name it the same as your new… Read More »

Loading

Galaxy S2 I9100G and CyanogenMod 9

CyanogenMod is an aftermarket firmware for a number of cell phones based on the open-source Android operating system. It offers features not found in the official Android based firmwares of vendors of these cell phones. Prerequisite: 1. Make sure you’re running ICS bootloaders. If you already running ICS then you’ll be fine. Follow this guide… Read More »

Loading