Jim Gallacher
jpg at jgassociates.ca
Thu Mar 29 08:36:11 EST 2007
Olaf Stein wrote: > Hi All, > > Is there any built in function in mod_python to obtain the remote IP > address. Or any other way? The Connection object is your friend. http://www.modpython.org/live/current/doc-html/pyapi-mpconn-mem.html#l2h-159 def handler(req): ip = req.connection.remote_ip ... Jim
|