[Laszlo-user] passing through client ip address
Bruce
palantir at mtterra.com
Fri Jun 30 21:58:30 EDT 2006
Well, normally it is in REMOTE_ADDR, and if I access the php directly
it will be correct. The HTTP_X_FORWARDED_FOR I believe is the one
that should be populated by laszlo. There are a number of others but
I've check this one and nada.
The other possibilities: HTTP_CLIENT, HTTP_PROXY_CONNECTION,
HTTP_FORWARDED. I havent checked these but I will be. Guess I should
download the code and peruse that.
Cheers
>
> I'm confused, where would you expect to see the client's IP address
in the
> HTTP request to the backend?
> Is there a specific HTTP header you're looking for?
>
>
>
> On 6/30/06, Bruce <palantir at mtterra.com> wrote:
> >
> >
> > When using laslzo in proxy(?) (non-solo mode) mode, laszlo doesn't
> > pass through the IP information of the original requestor. I
believe
> > there are provisions to do this unless I'm just doing something
wrong.
> >
> > My php backend doesn't see the correct IP, only the server's IP
> > address. Given the way this is handled, I doubt putting in no-
> > cache,etc will properly cause the IP flow through the proxy. I've
> > looked a number of variables in php besides the obvious one
$_SERVER
> > ['REMOTE_ADDR'].
> >
> > Any ideas on how to fix it or configure it?
> >
> > Thanks,
> > Bruce
> > _______________________________________________
> > Laszlo-user mailing list
> > Laszlo-user at openlaszlo.org
> > http://www.openlaszlo.org/mailman/listinfo/laszlo-user
> >
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
More information about the Laszlo-user
mailing list