Dan, Actually Load Balancer looks for the IP address and converts it into a header which is read by application to determine user location.
Is there a way to spoof IP that we sends to Load Balancer? On Tue, Jun 10, 2014 at 10:53 AM, Daniel Mikusa <dmik...@gopivotal.com> wrote: > On Tue, Jun 10, 2014 at 10:36 AM, Monty wig <monty...@gmail.com> wrote: > > > Good Morning, > > > > I am trying to generate static website based on dynamic site running on > > tomcat so I can take some load off my app servers. > > > > A twist here is that we are serving different pages based on user > location > > (Application has a logic that checks user IP and display content based on > > user location) and wondering is there a tool like wget that also accepts > > any locale? > > > > Cheers > > -Monty > > > > If the application is looking at the user's IP and doing a geo lookup or > something like that, I don't think there's much you can do short of somehow > spoofing the IP of the request. > > If the application looks at the headers, like the Accept-Language header, > you could try setting that header with wget or curl. > > Dan >