Posts

Showing posts from March, 2013

Installing mod_geoip2 Apache module

Image
Actually this is not a post on PHP but yeah Many times you happen to come across a situation where you need to compile and install Apache modules while writing PHP applications. This is one of my condition I came along. Here I am working for a multinational company which sells it products all over the world and they've this pretty nice thing to set-up in their website . They redirect their users to their countries own domain. For example google.com will be redirected to google.com.au if the visitors geographical location is australia. So, for such a case, we are going to use MaxMind's API. So before we could do that we need to install an Apache module. This post is basically on the installation of this modules. Well I am on fedora 18 for now while I am writing this post and doing the installation. First thing I believe is you definitely have been to this page http://dev.maxmind.com/geoip/mod_geoip2 . Here's all the stuffs described. Okey so lets download the files: First fi