This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: Rewrite for remote address
Author
Message |
esselink
Newbie


Joined: 28 February 2011
Posts: 1
Posted: 28 February 2011 at 6:51am

Hello,

We have our customers websites running on webservers with Helicon APE running in a MS ARR webfarm behind load balancers.

When an customer uses the remote ip in their scripts they get the load balancer IP. They have to get the X-Forwarded-For header instead.

Is it posible with Helicon APE to change the REMOTE_ADDR with the value of X-Forwarded-For?

Thanks in advance

Roy 

Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 28 February 2011 at 8:36am

Hello.
Please try the following code:
Code:
SetEnvIf X-Forwarded-For (.+) REMOTE_ADDR=$1


__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version