2010-08-14, 09:55 PM
Hello
I'm an mybb forum administrator of the following one:
http://forum.pplware.com
We are having a problem.
The server ISP, recently installed a reverse proxy(varnish) between VIP and Apache.
what does that mean? all the client IP's of any user who make it till Apache are 127.0.0.1, because as they said they have installed the reverse proxy in the same machine.
What they are saying know is that any application, (mybb included), must use the X-Forwarded-For to extract the clients IP, instead of the remote_addr that most use, more info about it, here:
http://en.wikipedia.org/wiki/X-Forwarded-For
So i was wondering if there is some kind of plugin of option that can be enabled to make the mybb infrastructure extract IP from that header and store it on the BD and associate it to any user (client).
If not i would like to know where is this info in the php source code files, which are available and what should i change?
I'm an mybb forum administrator of the following one:
http://forum.pplware.com
We are having a problem.
The server ISP, recently installed a reverse proxy(varnish) between VIP and Apache.
what does that mean? all the client IP's of any user who make it till Apache are 127.0.0.1, because as they said they have installed the reverse proxy in the same machine.
What they are saying know is that any application, (mybb included), must use the X-Forwarded-For to extract the clients IP, instead of the remote_addr that most use, more info about it, here:
http://en.wikipedia.org/wiki/X-Forwarded-For
So i was wondering if there is some kind of plugin of option that can be enabled to make the mybb infrastructure extract IP from that header and store it on the BD and associate it to any user (client).
If not i would like to know where is this info in the php source code files, which are available and what should i change?