Jonathan Vanasco wrote: > On Jul 3, 4:42 pm, Wichert Akkerman <[EMAIL PROTECTED]> wrote: >> Possibly better: >> >> request.environ.get("X_FORWARDED_FOR", request.environ["REMOTE_ADDR"]) > > maybe someone can make a middleware or pylons patch + config setting > that migrates X_FORWARDED_FOR to REMOTE_ADDR > > this is the one i maintain for mod_perl > > http://search.cpan.org/dist/Apache2-xForwardedFor/lib/Apache2/xForwardedFor.pm
I was going to say that PrefixMiddleware already did this, but apparently it didn't. It does now in Paste Deploy trunk. -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---