cant get real IP addres (x-forwarded-for)

42 views
Skip to first unread message

adi...@gmail.com

unread,
Feb 25, 2013, 5:13:56 AM2/25/13
to frapi-...@googlegroups.com
i cant get the real ip address of my user when they accessing my frapi

ex:

my apache log: - - - [25/Feb/2013:17:09:30 +0700] "GET /widget/random_word_homepage.json HTTP/1.1" 200 7195 "-" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0; MSAppHost/1.0)"

anyone?
thank you

Oleg Zaikin

unread,
Mar 15, 2013, 8:51:06 AM3/15/13
to frapi-...@googlegroups.com, adi...@gmail.com
Your Apache doesn't have this information. Looks like it's located after Nginx or something. Setup your first HTTP-server to give this information to Apache
Reply all
Reply to author
Forward
0 new messages