Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for X-Forwarded-For #26
in your description it says:
However, the still wildly used Apache 2.2 doesn't include mod_remoteip.
I also see in your code:
You tried to support both but the condition are commented out.
Could you please add support for 2.2 in this regard? Especially it would be cool if there were a config setting so that the module uses the client ip coming from the X-Forwarded-For header.
What do you think? We tried using a downgrade version of mod_remoteip which initially worked, but gives us SIGTERMs.
We would like to use a commercial license from you, but this technical issue is blocking us right now.
This feature was added in mod_geoip2 , including a feature we requested, "GeoIPUseFirstNonPrivateXForwardedForIP". We would like to stop using the "Legacy" MaxMind DB's, but would also prefer not to have this "regression".