cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Askild Aaberg Olsen <ask...@xangeli.com>
Subject Re: get-remote-address - get-remote-host
Date Tue, 26 Apr 2005 20:35:37 GMT
beyanet.com wrote:

>> Also, if you're using a local proxy (as descibed in
>> http://wiki.apache.org/cocoon/ApacheModProxy)  you'll get the proxy's
>> IP, not the remote user.
>
>
> Nacho,
> thanks for your reply. I am running my browser on the same machine as 
> my webserver. But 127.0.0.1 was also recorded when an external user 
> access the site as well, so I can only think that it is the local 
> proxy issue which is causing the issue in this case as I am using 
> Apache on the front end. Is there anyway that I can bypass this 
> problem and allow a users IP to be recorded instead of the local proxy?
>
> regards
>
> beya

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.

Askild

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message