aaaah, then do not panic, its doing what its meant to be doing.
Jetty is *NOT* proxying for OpenBD; jetty is the end point.
therefore if you want to get at the remote IP address then it is:
cgi.remote_addr
If you had say nginx, lighttpd, load balancer, etc, then it is being
proxied and the upstream webserver would add in HTTP requests to
indicate it was part of a chain and you weren't communicating directly
with the client.
But in this instance, you are the endpoint, so no chain, direct
communication with the client. Easy peasy.
and with that, i am off to bed! :)
Anton wrote:
> I'm not sure at all. :(
>
> The HTTP server is Jetty; is that what you meant by the process
> sitting in front of OpenBD?
>
> Forgive my newbness. :)
>
> That code returns [empty string] :(
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---