*** srichter has quit IRC | 00:03 | |
*** greenman has quit IRC | 00:13 | |
*** benji has quit IRC | 00:31 | |
*** basti__ has joined #zope3-dev | 00:32 | |
*** MJ has quit IRC | 00:38 | |
*** basti__ has quit IRC | 00:40 | |
*** J1m has quit IRC | 00:41 | |
*** aaronv has joined #zope3-dev | 00:41 | |
*** norro has quit IRC | 00:45 | |
*** aaronv has quit IRC | 00:52 | |
*** lucielejard has quit IRC | 00:52 | |
*** lurkymclurkleton has quit IRC | 00:53 | |
*** srichter has joined #zope3-dev | 00:55 | |
*** tarek has quit IRC | 00:56 | |
*** jamur2 has quit IRC | 00:58 | |
*** aaronv has joined #zope3-dev | 01:02 | |
*** rcrafton has quit IRC | 01:03 | |
*** srichter has quit IRC | 01:04 | |
*** srichter has joined #zope3-dev | 01:04 | |
*** jhauser has quit IRC | 01:10 | |
*** dbfrombrc has joined #zope3-dev | 01:12 | |
*** dbfrombrc has quit IRC | 01:13 | |
*** regebro has quit IRC | 01:22 | |
*** MrSipan has quit IRC | 01:23 | |
*** srichter has quit IRC | 01:32 | |
*** seletz has quit IRC | 01:40 | |
*** yota has quit IRC | 01:45 | |
*** hexsprite_ has joined #zope3-dev | 01:46 | |
*** hexsprite has quit IRC | 02:02 | |
*** alga has quit IRC | 02:09 | |
*** rmarianski has quit IRC | 02:16 | |
*** quodt has quit IRC | 02:25 | |
*** greenman has joined #zope3-dev | 02:43 | |
*** kaeru has quit IRC | 02:43 | |
*** dbfrombrc has joined #zope3-dev | 02:47 | |
*** brandon_rhodes has quit IRC | 02:58 | |
*** brandon_rhodes has joined #zope3-dev | 03:15 | |
*** aaronv has quit IRC | 03:21 | |
*** kaeru has joined #zope3-dev | 03:52 | |
*** aaronv has joined #zope3-dev | 03:53 | |
*** davisagli has left #zope3-dev | 03:59 | |
*** jsadjohnson_ has quit IRC | 04:06 | |
*** fmail has joined #Zope3-dev | 04:25 | |
*** fmail has left #Zope3-dev | 04:26 | |
*** fmail has joined #zope3-dev | 04:27 | |
*** whit has quit IRC | 04:29 | |
*** fmail has quit IRC | 04:37 | |
*** alecm has quit IRC | 04:41 | |
*** povbot has joined #zope3-dev | 04:53 | |
*** mgedmin has quit IRC | 04:55 | |
*** fmail has joined #zope3-dev | 05:06 | |
*** fmail has left #zope3-dev | 05:06 | |
*** davisagli has joined #zope3-dev | 05:06 | |
*** srichter has joined #zope3-dev | 05:25 | |
*** whit has joined #zope3-dev | 05:36 | |
*** ChanServ sets mode: +o srichter | 05:55 | |
*** whit has quit IRC | 05:57 | |
*** sm has quit IRC | 06:02 | |
*** sm has joined #zope3-dev | 06:09 | |
*** sm has quit IRC | 06:12 | |
*** sm has joined #zope3-dev | 06:13 | |
*** davisagli has left #zope3-dev | 06:21 | |
*** quodt has joined #zope3-dev | 06:40 | |
*** fmail has joined #zope3-dev | 06:41 | |
*** fmail has left #zope3-dev | 06:41 | |
*** quodt has quit IRC | 06:42 | |
*** binseer has joined #zope3-dev | 06:55 | |
*** hexsprite has joined #zope3-dev | 06:56 | |
*** greenman has quit IRC | 06:57 | |
*** hexsprite_ has quit IRC | 07:01 | |
*** brandon_rhodes has quit IRC | 07:05 | |
*** MiUlEr has joined #zope3-dev | 07:07 | |
*** Theuni1 has joined #zope3-dev | 07:23 | |
*** kursor has joined #zope3-dev | 07:23 | |
*** redir has joined #zope3-dev | 07:39 | |
*** hexsprite_ has joined #zope3-dev | 07:41 | |
*** afd__ has joined #zope3-dev | 07:41 | |
*** yota has joined #zope3-dev | 07:54 | |
*** fairwinds has quit IRC | 07:58 | |
*** hexsprite has quit IRC | 07:58 | |
*** baijum has joined #zope3-dev | 08:22 | |
*** thekryz has joined #zope3-dev | 08:24 | |
*** Theuni1 has quit IRC | 08:35 | |
*** davisagli has joined #zope3-dev | 08:35 | |
*** jukart has joined #zope3-dev | 08:37 | |
*** kursor has quit IRC | 08:37 | |
*** jukart has quit IRC | 08:37 | |
*** jukart has joined #zope3-dev | 08:37 | |
*** agroszer has joined #zope3-dev | 08:57 | |
*** __mac__ has joined #zope3-dev | 09:04 | |
*** jayaraj has joined #zope3-dev | 09:05 | |
*** afd__ has quit IRC | 09:06 | |
*** redir has quit IRC | 09:12 | |
*** agroszer has quit IRC | 09:35 | |
*** Theuni1 has joined #zope3-dev | 09:39 | |
*** MiUlEr has quit IRC | 09:42 | |
*** philiKON has quit IRC | 09:42 | |
*** kursor has joined #zope3-dev | 09:49 | |
*** zagy has joined #zope3-dev | 09:49 | |
*** zagy_ has quit IRC | 09:49 | |
*** sunew has joined #zope3-dev | 09:52 | |
*** philiKON has joined #zope3-dev | 09:59 | |
*** quodt has joined #zope3-dev | 10:02 | |
*** Theuni2 has joined #zope3-dev | 10:03 | |
*** natea_ has joined #zope3-dev | 10:03 | |
*** baijum has joined #zope3-dev | 10:04 | |
*** mustap has joined #zope3-dev | 10:04 | |
*** mustap has left #zope3-dev | 10:04 | |
*** agroszer has joined #zope3-dev | 10:06 | |
*** Theuni1 has quit IRC | 10:07 | |
*** basti__ has joined #zope3-dev | 10:08 | |
*** thekryz has quit IRC | 10:23 | |
*** thekryz has joined #zope3-dev | 10:25 | |
*** tarek has joined #zope3-dev | 10:27 | |
*** davisagli has left #zope3-dev | 10:31 | |
*** alga has joined #zope3-dev | 10:39 | |
*** harobed has joined #zope3-dev | 10:43 | |
*** mkerrin has joined #zope3-dev | 10:52 | |
*** stub has joined #zope3-dev | 10:54 | |
*** ignas has joined #zope3-dev | 11:00 | |
*** Theuni1 has joined #zope3-dev | 11:05 | |
*** Theuni2 has quit IRC | 11:05 | |
*** zagy has quit IRC | 11:07 | |
*** zagy has joined #zope3-dev | 11:08 | |
*** quodt has quit IRC | 11:08 | |
*** jpcw has joined #zope3-dev | 11:10 | |
*** danfairs has quit IRC | 11:12 | |
*** pyqwer has joined #zope3-dev | 11:28 | |
*** greenman has joined #zope3-dev | 11:29 | |
*** dbfrombrc has quit IRC | 11:40 | |
*** nyo has joined #zope3-dev | 11:54 | |
*** goschtl has joined #zope3-dev | 11:58 | |
*** pelle_ has joined #zope3-dev | 12:01 | |
*** pelle_ has joined #zope3-dev | 12:02 | |
*** MJ has joined #zope3-dev | 12:03 | |
*** alga has quit IRC | 12:14 | |
*** MJ is now known as MJ|afk | 12:21 | |
*** dunny has quit IRC | 12:49 | |
*** projekt01 has joined #zope3-dev | 12:54 | |
*** Theuni1 has quit IRC | 13:11 | |
*** toutpt has joined #zope3-dev | 13:14 | |
*** kursor has quit IRC | 13:17 | |
*** malthe|out is now known as malthe | 13:18 | |
*** kaeru has quit IRC | 13:21 | |
*** srichter has quit IRC | 13:23 | |
*** srichter has joined #zope3-dev | 13:23 | |
*** pelle_ has quit IRC | 13:29 | |
*** pelle_ has joined #zope3-dev | 13:29 | |
*** toutpt has quit IRC | 13:34 | |
*** agroszer has quit IRC | 13:42 | |
*** jhauser has joined #zope3-dev | 13:47 | |
*** greenman has quit IRC | 13:51 | |
*** agroszer has joined #zope3-dev | 13:52 | |
*** harobed has quit IRC | 13:55 | |
*** MrTopf has joined #zope3-dev | 14:09 | |
*** pelle_ has quit IRC | 14:20 | |
*** pelle_ has joined #zope3-dev | 14:21 | |
*** baijum has quit IRC | 14:32 | |
*** kursor has joined #zope3-dev | 14:33 | |
*** agroszer has quit IRC | 14:36 | |
*** fairwinds has joined #zope3-dev | 14:48 | |
*** Theuni1 has joined #zope3-dev | 14:49 | |
*** J1m has joined #zope3-dev | 14:57 | |
*** agroszer has joined #zope3-dev | 15:00 | |
*** baijum has joined #zope3-dev | 15:00 | |
*** agroszer_ has joined #zope3-dev | 15:02 | |
*** agroszer__ has joined #zope3-dev | 15:04 | |
*** agroszer has quit IRC | 15:04 | |
*** pelle__ has joined #zope3-dev | 15:07 | |
*** pelle_ has quit IRC | 15:13 | |
*** quodt has joined #zope3-dev | 15:15 | |
*** benji has joined #zope3-dev | 15:16 | |
*** agroszer__ is now known as agroszer | 15:18 | |
*** harobed has joined #zope3-dev | 15:19 | |
*** redir has joined #zope3-dev | 15:19 | |
*** agroszer_ has quit IRC | 15:22 | |
*** afd__ has joined #zope3-dev | 15:26 | |
*** redir has quit IRC | 15:39 | |
*** stub has quit IRC | 15:41 | |
*** lurkymclurkleton has joined #zope3-dev | 16:00 | |
*** jamur2 has joined #zope3-dev | 16:00 | |
*** lurkymclurkleton has quit IRC | 16:04 | |
*** toutpt has joined #zope3-dev | 16:04 | |
*** aaronv has joined #zope3-dev | 16:05 | |
*** philiKON has quit IRC | 16:12 | |
*** Theuni1 has quit IRC | 16:14 | |
jayaraj | how to get the client IP from the request. i dont see clinet IP in the request! | 16:18 |
---|---|---|
jayaraj | client* | 16:18 |
*** Theuni1 has joined #zope3-dev | 16:22 | |
jayaraj | say if i want to log the IP from which user login or signup.. then i should be able to get the client IP. i was expecting it to be inside self.request. but there is only REMOTE_ADDR. but thats the IP of my server. can anyone tell me... wot i should do to get the client IP | 16:25 |
*** jsadjohnson has joined #zope3-dev | 16:25 | |
bigkevmcd | jayaraj: are you proxying via Apache? | 16:25 |
jayaraj | nope! | 16:26 |
jayaraj | bigkevmcd, does that mean there is no way in zope3? | 16:27 |
bigkevmcd | no...but the usual reason for only seeing the local address is that it's being proxied | 16:27 |
jayaraj | ok | 16:27 |
benji | jayaraj: we have a small package that should really be open sourced called zc.ip that does it; it's main reason for existance is that it handles the X-Forwarded-For header | 16:27 |
benji | if you don't need that, you can just look for REMOTE_ADDR and use that | 16:28 |
jayaraj | benji good to know that | 16:28 |
*** lurkymclurkleton has joined #zope3-dev | 16:29 | |
jayaraj | benji,so actually REMOTE_ADDR is supposed to be client IP rite? | 16:30 |
*** regebro has joined #zope3-dev | 16:30 | |
pyqwer | afd__: ping | 16:31 |
jayaraj | may be i should check my setup once again.. as bigkevmcd mentioned! | 16:31 |
benji | jayaraj: right, something like ip = request.environment.get('REMOTE_ADDR', None) | 16:31 |
jayaraj | hmm | 16:31 |
afd__ | pyqwer: hi | 16:31 |
jayaraj | let me see | 16:31 |
*** sp0cksbeard has joined #zope3-dev | 16:32 | |
jayaraj | benji and zc.ip will be open source any soon as you said? | 16:32 |
benji | there's nothing holding it back, we've just been lazy; unless someone could use it, I don't forsee it being done soon | 16:33 |
jayaraj | :) | 16:34 |
jayaraj | ok | 16:34 |
*** pelle__ has quit IRC | 16:34 | |
*** bigkevmcd has quit IRC | 16:35 | |
jayaraj | benji, is so can i have a look at zc.ip then? | 16:35 |
jayaraj | if* so | 16:35 |
benji | I can look into opening it, it may be a few hours/days; you might not want to wait that long ;) | 16:36 |
benji | the code I pasted above should work for your use case though | 16:36 |
jayaraj | benji, yea ... i was just being curious :) | 16:37 |
*** tarek has quit IRC | 16:37 | |
jayaraj | ok i can wait! np | 16:38 |
*** rmarianski has joined #zope3-dev | 16:38 | |
jayaraj | i have many other stuffs in my todo so! | 16:39 |
jayaraj | benji thank you for opening zc.ip for us :) i think x-forwarded-for will be a good thing and many people may wish to see it in their applications! | 16:41 |
*** whit has joined #zope3-dev | 16:42 | |
*** bigkevmcd has joined #zope3-dev | 16:43 | |
*** baijum has quit IRC | 16:43 | |
*** bigkevmcd has quit IRC | 16:43 | |
*** bigkevmcd_ has joined #zope3-dev | 16:43 | |
*** pelle_ has joined #zope3-dev | 16:43 | |
*** bigkevmcd_ is now known as bigkevmcd | 16:44 | |
*** lucielejard has joined #zope3-dev | 16:44 | |
jayaraj | benji yea your code is working for me! :) thanks... i think its coz of my testing environment that i was not getting correct result.! | 16:49 |
benji | cool | 16:49 |
jayaraj | :) | 16:50 |
jayaraj | bigkevmcd, yea i think your guess is correct! :) | 16:52 |
*** thekryz has quit IRC | 16:52 | |
*** rmarianski has quit IRC | 16:54 | |
*** tarek has joined #zope3-dev | 16:54 | |
*** __mac__ has quit IRC | 16:56 | |
*** tarek has quit IRC | 16:56 | |
*** nyo has quit IRC | 17:02 | |
*** projekt01 has quit IRC | 17:05 | |
*** nyo has joined #zope3-dev | 17:06 | |
*** projekt01 has joined #zope3-dev | 17:08 | |
*** nyo has quit IRC | 17:14 | |
*** hexsprite_ is now known as hexsprite | 17:16 | |
Theuni1 | J1m: I'm not sure I understood your last mail about missing tests. | 17:19 |
Theuni1 | Ah. I think Chris Wither's mail is identical. | 17:20 |
*** edgordon has joined #zope3-dev | 17:22 | |
*** stub has joined #zope3-dev | 17:22 | |
*** gberdyshev has joined #zope3-dev | 17:28 | |
*** basti__ has quit IRC | 17:28 | |
*** basti__ has joined #zope3-dev | 17:29 | |
*** zagy_ has joined #zope3-dev | 17:29 | |
*** gberdyshev is now known as gberdyshev_ | 17:30 | |
*** basti___ has joined #zope3-dev | 17:31 | |
*** zagy__ has joined #zope3-dev | 17:33 | |
*** basti___ has quit IRC | 17:38 | |
*** mkerrin has quit IRC | 17:43 | |
*** zagy has quit IRC | 17:44 | |
*** mkerrin has joined #zope3-dev | 17:46 | |
*** zagy_ has quit IRC | 17:46 | |
*** kursor has quit IRC | 17:47 | |
*** basti__ has quit IRC | 17:47 | |
*** replaceafill has joined #zope3-dev | 17:51 | |
*** jukart has quit IRC | 17:52 | |
*** romanofski has quit IRC | 17:55 | |
*** pelle_ has quit IRC | 17:56 | |
*** pelle_ has joined #zope3-dev | 17:56 | |
*** zagy__ has quit IRC | 17:58 | |
*** goschtl has quit IRC | 18:05 | |
*** romanofski has joined #zope3-dev | 18:05 | |
*** sp0cksbeard has left #zope3-dev | 18:06 | |
*** davisagli has joined #zope3-dev | 18:07 | |
*** jayaraj has quit IRC | 18:10 | |
*** binseer has quit IRC | 18:10 | |
*** rmarianski has joined #zope3-dev | 18:17 | |
*** natea_ has quit IRC | 18:17 | |
*** romanofski has quit IRC | 18:20 | |
*** davisagli has quit IRC | 18:28 | |
*** benji has quit IRC | 18:29 | |
*** menesis has joined #zope3-dev | 18:35 | |
*** jpcw has left #zope3-dev | 18:38 | |
*** Theuni1 has quit IRC | 18:42 | |
*** Theuni2 has joined #zope3-dev | 18:42 | |
*** Theuni2 has quit IRC | 18:43 | |
*** febb has joined #zope3-dev | 18:44 | |
*** febb has quit IRC | 18:44 | |
*** febb has joined #zope3-dev | 18:45 | |
*** projekt01 has quit IRC | 18:45 | |
*** redir has joined #zope3-dev | 18:51 | |
*** davisagli has joined #zope3-dev | 18:58 | |
*** malthe is now known as malthe|out | 19:06 | |
*** afd__ has quit IRC | 19:06 | |
*** pelle_ has quit IRC | 19:07 | |
*** quodt has quit IRC | 19:12 | |
*** fRiSi has joined #zope3-dev | 19:12 | |
*** ignas has quit IRC | 19:12 | |
*** kursor has joined #zope3-dev | 19:20 | |
*** gberdyshev_ has quit IRC | 19:21 | |
*** yotaff has quit IRC | 19:26 | |
*** yotaff has joined #zope3-dev | 19:29 | |
*** stub1 has joined #zope3-dev | 19:34 | |
*** stub has quit IRC | 19:34 | |
*** stub1 is now known as stub | 19:35 | |
*** norro has joined #zope3-dev | 19:35 | |
*** toutpt has quit IRC | 19:36 | |
*** pyqwer has quit IRC | 19:38 | |
*** benji has joined #zope3-dev | 19:39 | |
*** fRiSi has quit IRC | 19:42 | |
*** yotaff has quit IRC | 19:46 | |
*** lucielejard has quit IRC | 19:48 | |
*** Count-Duckula has joined #zope3-dev | 20:00 | |
*** agroszer_ has joined #zope3-dev | 20:01 | |
*** projekt01 has joined #zope3-dev | 20:01 | |
*** Count-Duckula has left #zope3-dev | 20:01 | |
*** lucielejard has joined #zope3-dev | 20:04 | |
*** philiKON has joined #zope3-dev | 20:04 | |
*** lucielejard has quit IRC | 20:04 | |
*** lucielejard has joined #zope3-dev | 20:04 | |
*** replaceafill has quit IRC | 20:05 | |
*** mkerrin has quit IRC | 20:08 | |
*** bigkevmcd has quit IRC | 20:10 | |
*** lucielejard has quit IRC | 20:16 | |
*** lucielejard has joined #zope3-dev | 20:17 | |
*** edgordon has quit IRC | 20:17 | |
*** projekt01 has quit IRC | 20:17 | |
*** agroszer has quit IRC | 20:18 | |
*** lucielejard has quit IRC | 20:21 | |
*** lucielejard has joined #zope3-dev | 20:21 | |
*** lucielejard has quit IRC | 20:25 | |
*** harobed has quit IRC | 20:26 | |
*** lucielejard has joined #zope3-dev | 20:26 | |
*** agroszer_ is now known as agroszer | 20:30 | |
*** replaceafill has joined #zope3-dev | 20:33 | |
*** lucielejard_ has joined #zope3-dev | 20:33 | |
*** lucielejard has quit IRC | 20:35 | |
*** sunew_ has joined #zope3-dev | 20:45 | |
*** sunew has quit IRC | 20:45 | |
*** quodt has joined #zope3-dev | 21:02 | |
*** lucielejard_ has quit IRC | 21:06 | |
*** lucielejard has joined #zope3-dev | 21:06 | |
*** lucielejard_ has joined #zope3-dev | 21:08 | |
*** lucielejard has quit IRC | 21:11 | |
*** flox has joined #zope3-dev | 21:13 | |
*** alecm has joined #zope3-dev | 21:18 | |
*** nyo has joined #zope3-dev | 21:23 | |
*** kursor has quit IRC | 21:38 | |
*** kursor has joined #zope3-dev | 21:38 | |
*** norro has quit IRC | 21:40 | |
*** jsadjohnson has quit IRC | 21:41 | |
*** lucielejard has joined #zope3-dev | 21:42 | |
*** lucielejard_ has quit IRC | 21:42 | |
*** whit has quit IRC | 22:02 | |
*** rmarianski has quit IRC | 22:02 | |
*** lucielejard has quit IRC | 22:06 | |
*** lucielejard has joined #zope3-dev | 22:06 | |
*** lucielejard has quit IRC | 22:16 | |
*** lucielejard has joined #zope3-dev | 22:17 | |
*** lucielejard has quit IRC | 22:18 | |
*** lucielejard has joined #zope3-dev | 22:18 | |
*** stub has quit IRC | 22:21 | |
*** lucielejard has quit IRC | 22:24 | |
*** lucielejard has joined #zope3-dev | 22:25 | |
*** agroszer has quit IRC | 22:40 | |
*** rmarianski has joined #zope3-dev | 22:51 | |
*** kursor has quit IRC | 22:52 | |
*** MJ|afk has quit IRC | 22:55 | |
*** stub has joined #zope3-dev | 23:00 | |
*** charlenopires has joined #zope3-dev | 23:02 | |
*** whit has joined #zope3-dev | 23:02 | |
*** charlenopires has left #zope3-dev | 23:02 | |
*** stub1 has joined #zope3-dev | 23:08 | |
*** stub has quit IRC | 23:08 | |
*** stub1 is now known as stub | 23:08 | |
*** MrTopf has quit IRC | 23:10 | |
*** stub has quit IRC | 23:14 | |
*** stub1 has joined #zope3-dev | 23:14 | |
*** stub1 is now known as stub | 23:14 | |
*** lucielejard_ has joined #zope3-dev | 23:18 | |
*** lucielejard has quit IRC | 23:18 | |
*** lucielejard has joined #zope3-dev | 23:29 | |
*** runyaga_ is now known as runyaga | 23:29 | |
*** lucielejard_ has quit IRC | 23:29 | |
*** stub has quit IRC | 23:33 | |
*** stub has joined #zope3-dev | 23:34 | |
*** lucielejard has quit IRC | 23:38 | |
*** lucielejard_ has joined #zope3-dev | 23:38 | |
*** lucielejard_ has quit IRC | 23:39 | |
*** lucielejard has joined #zope3-dev | 23:41 | |
*** replaceafill has left #zope3-dev | 23:44 | |
*** lucielejard has quit IRC | 23:44 | |
*** lucielejard has joined #zope3-dev | 23:44 | |
*** flox has left #zope3-dev | 23:45 | |
*** lucielejard has quit IRC | 23:47 | |
*** lucielejard has joined #zope3-dev | 23:48 | |
*** aaronv has quit IRC | 23:51 | |
*** Jell-O-Fishi has joined #zope3-dev | 23:52 | |
*** davisagli_ has joined #zope3-dev | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!