cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "beyanet.com" <beya_n...@yahoo.co.uk>
Subject Re: get-remote-address - get-remote-host
Date Wed, 27 Apr 2005 00:12:17 GMT
>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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message