hi,

Try this :

ip = web.ctx.environ['HTTP_X_FORWARDED_FOR']




On 12 nov, 16:11, Ken <[email protected]> wrote:
> RT. look at this:https://bugs.launchpad.net/webpy/+bug/347501
>
> 2008/7/11 Zigiless <[email protected]>
>
>
>
> > Allow, I'm using web.py on mod_wsgi, but web.ctx.ip seems to always be
> > 127.0.0.1
> > I checked Apache's logs and everything seems normal, regular IP's and
> > all. Any ideas?
>
> --
> 大郎:百才招聘(baicai.com).产品部
> Email: [email protected]
> Gtalk: [email protected]
> twitter.com/qichangxinghttp://blog.hi0791.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to