Jonothan Stribling wrote:
Hi All,

This issue is not so much specifically a problem with Cocoon, it is more
an environmental issue.


We use mod_proxy and Apache HTTP Server and proxy requests to Cocoon on
port 8080. The problem is that we need to detect the Client IP address
from cocoon and using request.getRemoteAddr() returns the servers IP
address because it is correctly identified as the client. This is not
terribly useful.

Can someone advise how how we can get the actual clients IP?  Does this
mean we cannot use mod_proxy and instead have to use mod_rewrite?

Any advice would be appreciated.



Hummmmm, I think I remember running into this... I'm not 100% sure, but I *think* mod_proxy might add a header to the incoming request which contains the "correct" remote IP. Don't count me on it, but I seem to remember it doing something like this... perhaps checking the headers it sends would yield some more usful information.



Regards, Tony


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



Reply via email to