loosing browser's IP using proxypass

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:

#
<VirtualHost 192.168.1.3:80>
ServerName protecturself.com
ServerAlias www.protecturself.com
ServerAdmin protecturself [at] 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"
<Directory "e:/sft">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /cdmi "d:/cdmi"
<Directory "d:/cdmi">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>

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

</VirtualHost>
#

Any suggestions or pointers would be greatly appreciated.

Steve Trimble
Computerized Data Mgmt Inc
PO Box 3473
Fayetteville, AR 72702
(479) 521-5670 / cdmi [at] swbell.net
CDMI [ Do, 30 Oktober 2003 16:30 ] [ ID #34777 ]

Re: loosing browser's IP using proxypass

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 [at] sharp.fm "There's a moon
over Bourbon Street
tonight..."
Graham Leggett [ Do, 30 Oktober 2003 17:12 ] [ ID #34778 ]
Webserver » gmane.comp.apache.mod-proxy » loosing browser's IP using proxypass

Vorheriges Thema: Forwarding URL with semicolon
Nächstes Thema: ProxyPassReverse - dropping the port value in location?