Askild Aaberg Olsen wrote:

There is a "X-Forwarded-For"-header that shows up in the request-generator, and this is the correct remote address when using the proxy. Not sure how to access it from flow, so if you find out, you know what to do... ;-)

Also set "ProxyPreserveHost On", as pointed out by Jimenez.

Does

cocoon.request.getHeader("X-Forwarded-For")

Askild, you the man.

cocoon.request.getHeader("X-Forwarded-For")

returns a users IP address just fine.

many thanks

beya

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to