2013-12-05, 12:12 AM
(This post was last modified: 2013-12-05, 12:51 AM by 666threesixes666.)
sorry to dig this thread up... after 3 days of panic, it has been resolved.
mod_rpaf & its successor should resolve all of this mess. no need to edit php files or anything.
i put mybb behind varnish, and now its reporting the correct ip addresses, once i enabled mod_rpaf.
i configured varnish default.vcl
mod_rpaf & its successor should resolve all of this mess. no need to edit php files or anything.
i put mybb behind varnish, and now its reporting the correct ip addresses, once i enabled mod_rpaf.
i configured varnish default.vcl
backend default {
.host = "127.0.0.1";
.port = "8080";
}
sub vcl_recv {
remove req.http.X-Forwarded-For;
set req.http.X-Forwarded-For = client.ip;
}