loosing browser"s IP using proxypass

loosing browser"s IP using proxypass

am 30.10.2003 16:30:59 von CDMI

i'm using windows Apache v2.0 on Windows 2000 Prof.
it services all static pages and images.
when i need a dynamic page or form i use proxypass
to take it to my dynamic server which is running
on the same machine but listening to port 81.
typically this redirection is needed during ecommerce
processing. unfortunately I loose the browser's IP
address (a result of proxypass I understand).
does anyone know of some one that could 'recompile' and
change the proxypass module so the IP of the browser
could be passed along instead of the IP of the Apache
server ?

portion of my httpd.conf file:

#

ServerName protecturself.com
ServerAlias www.protecturself.com
ServerAdmin protecturself@swbell.net

ProxyPass /ecomm/sft http://127.0.0.1:80/sft
ProxyPass /sft http://127.0.0.1:80/sft
ProxyPass /ecomm http://192.168.1.3:81/ecomm

DocumentRoot "e:/sft"
Alias /sft "e:/sft"

Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

Alias /cdmi "d:/cdmi"

Options None
AllowOverride None
Order allow,deny
Allow from all


ErrorLog logs/protecturself_error.log
CustomLog logs/protecturself_access.log common


#

Any suggestions or pointers would be greatly appreciated.

Steve Trimble
Computerized Data Mgmt Inc
PO Box 3473
Fayetteville, AR 72702
(479) 521-5670 / cdmi@swbell.net

Re: loosing browser"s IP using proxypass

am 30.10.2003 17:12:05 von Graham Leggett

CDMI wrote:

> does anyone know of some one that could 'recompile' and
> change the proxypass module so the IP of the browser
> could be passed along instead of the IP of the Apache
> server ?

The IP you want is passed in the X-Forwarded-For header along to the
backend server.

Regards,
Graham
--
-----------------------------------------
minfrin@sharp.fm "There's a moon
over Bourbon Street
tonight..."