httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Keys <>
Subject RE: [users@httpd] Geolocation Question
Date Mon, 18 Jun 2007 20:53:00 GMT

Hey Joshua,You're right except we don't use mod_proxy_balancer
in conjunction with mod_proxy ... we use mod_rewrite with '[R]'
directive and point to the mod_proxy_balancer worker to determine which
server to externally redirect to. Does this make sense?The
reason we chose to do this was to take advantage of some of the nice
features in mod_proxy_balancer (like session management, weighted load
balancing, etc...). We are, however, not locked in to this solution. If
something more efficient / easier to manage is out there we are
definitely open to suggestions.Thanks for your reply,Jon> Date: Mon, 18 Jun 2007 16:10:50
-0400> From:> To:> Subject: Re: [users@httpd]
Geolocation Question> > On 6/18/07, Jon Keys <> wrote:> >>
> Hi,> >> > I'm setting up some load balancing based on Apache with mod_proxy_balancer>
> and I'd like to incorporate geolocation based on IP address into the load> > balancing
algorithm.> >> > I know that IP's are not a reliable way of determining location,
but we> > purchased a package from ip2location to try and be as accurate as possible.>
> Even still, it's not perfect and that's OK because we are just distributing> >
the load of some free downloads ... if someone gets redirected to a server> > that's
not that close to them it won't be the end of the world.> >> > Anyway, does anyone
know of such a patch / mod / plugin / application> > compatible with apache2? If not,
some pointers on where to begin developing> > this would be greatly appreciated.>
> Maybe I'm missing something, but this doesn't make any sense to me.> > If you are
using mod_proxy_balancer, then all requests will go through> the apache proxy server. That
means there is no benefit in putting the> back-end server close to the client. In fact,
you want the back-end> server close to the balancer.> > If you want the client to
access stuff from a closer server, you> should issue an external redirect. mod_rewrite
would be a standard way> to access a database to do a conditional redirect.> > Joshua.>
> ---------------------------------------------------------------------> The official
User-To-User support forum of the Apache HTTP Server Project.> See <URL:>
for more info.> To unsubscribe, e-mail:>    "   from
the digest:> For additional commands, e-mail:> 
Live Earth is coming.  Learn more about the hottest summer event - only on MSN.
View raw message