Re: Include client IP address in rewritten URL

2010-12-14 Thread Shawn Heisey
The Apache instances run under Windows, and the application is a homegrown windows executable CGI. It's my opinion that the OS choice is the entire problem, but it's not something we can change without a complete rewrite of major systems. I'm a sysadmin, not a developer! I will talk to the d

Re: Include client IP address in rewritten URL

2010-12-13 Thread Anze
This might be obvious, but still: all of the programming languages I know of can access REMOTE_ADDR even if they don't get it via GET vars. For instance, in PHP you can get it from $_SERVER['REMOTE_ADDR']. So there should be no need to use GET vars, just change the way you access the data. The

Re: Include client IP address in rewritten URL

2010-12-13 Thread Willy Tarreau
Hi Shawn, On Mon, Dec 13, 2010 at 07:29:20PM -0700, Shawn Heisey wrote: > I am trying to use haproxy 1.4.8 to replace an apache URL rewriting > engine that crumbles under load. I have to duplicate the following part > of it: > > &ipaddr=%{REMOTE_ADDR} > > The IP address is not part of the ori

Include client IP address in rewritten URL

2010-12-13 Thread Shawn Heisey
I am trying to use haproxy 1.4.8 to replace an apache URL rewriting engine that crumbles under load. I have to duplicate the following part of it: &ipaddr=%{REMOTE_ADDR} The IP address is not part of the original URL, but it must be included in the rewritten one. Looking at the documentatio